Author Topic: mc24 and js1000  (Read 3500 times)

boa1770

  • Guest
mc24 and js1000
« on: August 25, 2011, 08:23:14 PM »
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

  • Guest
Re: mc24 and js1000
« Reply #1 on: August 25, 2011, 09:29:52 PM »
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

  • Guest
Re: mc24 and js1000
« Reply #2 on: August 25, 2011, 10:56:21 PM »
Thanks Tyler....I will have to seperate the signals for the 4 outputs but I think I get the idea now.

radioact

  • Guest
Re: mc24 and js1000
« Reply #3 on: August 25, 2011, 11:49:04 PM »
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