PLUS+1 Hardware > PLUS+1 Compliant Hardware

mc24 and js1000

(1/1)

boa1770:
I am trying to use a js1000 and a mc24 together. I have never written programs for joystick and I dont know how to do it. i have the js1000_can block and I need to use and 8 point profile on 2 axis. Does anyone have a sample or can you send me a view of using the js1000 with the 8 point profile.

Thanks

radioact:
Here is something I threw together, it compiles but I haven't tested it with hardware.

It reads a joystick at address 55 (you may have to change this address for you joystick) and profiles the x and y values. You will have to edit the profile points to your liking but it should be what you are looking for.

Tyler

boa1770:
Thanks Tyler....I will have to seperate the signals for the 4 outputs but I think I get the idea now.

radioact:
Good to hear,
All though it seems some people don't already know but compliance blocks kick ass, no need to reinvent the wheel. :)

Tyler

Navigation

[0] Message Index

Go to full version