ok so I am using arduino cos I can and its pretty easy so far.
but I have an issue combining the 3 parts of my project together.
first there is a wii nunchuck:- there is an issue with the library for this device but I will work with what I have. I have followed the examples given from most search engines, and it gave me some mixed results but after some debugging I got it to work, however the values do not go from 0 they start around 64 which might not be a big problem
the second part is the send recieve via the nrf24l01. an example code was given here http://maniacbug.github.com/RF24/led_remote_8pde-example.html
the 3rd part is the motor and hbridge to control them.
the issue I have is combining these codes together to get something that uses the wii nunchuck as the controller to transmit over the 2.4ghz tranciever then recieved on the second arduino and converted into something that can control 2 motors (1 would be left other right so both on is forward, both off still reverse is both back and then l/r is only one turning forward)
I can figure out each of the codes, but for the life of me I can't figure out how to combine them.
but I have an issue combining the 3 parts of my project together.
first there is a wii nunchuck:- there is an issue with the library for this device but I will work with what I have. I have followed the examples given from most search engines, and it gave me some mixed results but after some debugging I got it to work, however the values do not go from 0 they start around 64 which might not be a big problem
the second part is the send recieve via the nrf24l01. an example code was given here http://maniacbug.github.com/RF24/led_remote_8pde-example.html
the 3rd part is the motor and hbridge to control them.
the issue I have is combining these codes together to get something that uses the wii nunchuck as the controller to transmit over the 2.4ghz tranciever then recieved on the second arduino and converted into something that can control 2 motors (1 would be left other right so both on is forward, both off still reverse is both back and then l/r is only one turning forward)
I can figure out each of the codes, but for the life of me I can't figure out how to combine them.