XHC-HB04 wireless MPG pendant HAL module

More
13 years 4 months ago #35939 by f1oat
I cannot see it, the access to this ebay item is blocked from my place.

Please Log in to join the conversation.

More
13 years 4 months ago #35940 by tommy
This is picture from ebay how it looks:

Please Log in to join the conversation.

More
13 years 4 months ago #35941 by f1oat
Looks identical to my unit.

Please Log in to join the conversation.

More
13 years 4 months ago #36168 by tommy
A little help needed, to get things to work:
- where to put provided files (Makefile, xhc-hb04.c)?
- what to do with them (compile, how to compile, any customization needed)?

Please Log in to join the conversation.

More
13 years 4 months ago #36170 by f1oat
I have updated the web page with additional instructions for compilation.
Let me know if something is missing.
Frederic.

Please Log in to join the conversation.

More
13 years 4 months ago #36172 by tommy
Thank you, I tested out right away, and it works perfectly!

Next thing will be adjusting to my keys layout which is a bit different then the one I ordered, but shouldn't be a problem to modify HAL.

Please Log in to join the conversation.

More
13 years 4 months ago #36176 by f1oat
I believe some C code modifications may be necessary for new layout.
Come back to me if you have problem, I will post the procedure to get the informations I will need for the patch.
Frederic.

Please Log in to join the conversation.

More
13 years 3 months ago #36179 by tommy
So, my "version" of pendant looks like this:



I just run trough buttons:



If I can help with anything, so you can adjust C code, please let me know.

Please Log in to join the conversation.

More
13 years 3 months ago #36195 by tommy
And there is another thing, as I need to run my machine in World mode, which disables incremental steps, so the only possibility to jog is in continuous mode, where jog wheel has no function for now ... any solution?

Please Log in to join the conversation.

More
13 years 3 months ago #36252 by f1oat
Thank you for the table about buttons mapping, that helps a lot.
I have uploaded the V03 to the wiki.
Now, there is a configuration file to define the layout and associated HAL pins.
New command line options, see first line of xhc-hb04.hal.
There is no more xhc-hb04.simu executable. The xhc-hb04 can run both in simulation mode or as a HAL module (-H flag).
The xhc-hb04-layout2.ini should be ok for you.
g++ is used instead of gcc: hope there is no compilation issue on your side.
Frederic.

Please Log in to join the conversation.

Time to create page: 0.229 seconds
Powered by Kunena Forum