The problem is that i understand Arduino scripting only at a very basic level.
My question is:
Should i upload the protocol code with all the hex addresses in it as is to the Arduino or is it only a protocol general description, from which one is supposed to build the Arduino code itself?
Since i only understand simple Arduino scripts and know almost nothing about hex addresses (besides the way they look)...is it complicated to build the Arduino code itself, from that protocol description? How should that be done?
Should i upload the protocol code with all the hexa addresses in it as is to the Arduino
I'm not sure what you mean by "hexa addresses". The standard abbreviation for hexadecimal is hex. There are no addresses in the sketch. There are values with hex constants that the executable will send.
Yes, you should stupefy your Arduino by uploading that sketch AS-IS.
RC_to_Arduino.ino:2:1: error: 'Send' does not name a type
RC_to_Arduino.ino:108:44: error: expected unqualified-id before '>' token
RC_to_Arduino.ino:108:58: error: expected unqualified-id before numeric constant
RC_to_Arduino.ino:116:44: error: expected unqualified-id before '>' token
RC_to_Arduino.ino:116:58: error: expected unqualified-id before numeric constant
Do you have any idea why this happens?
As well, in my previous computer, the Arduino IDE used to mark-up the lines in which there is an error and now, it only shows the error messages at the bottom of the window, do you know how can i make it mark-up the error lines? I can't find such an option in the menu..
Thanks.
I tried compiling the sketch in 1.0.5 and 1.6.5, for the Duemilanove (I don't have a Uno, though the Uno and Duemilanove use the same chip), and it was successful on both versions.
i'm very close - but not there yet.
After uploading the StandardFirmata protocol to the Arduino - the PC software is finally connecting at 57600 Baud.
But no matter what configuration i try on the Devo 7E TX side, the sliders on the PC software won't make the servo move - only the TX stick makes it move.
i'v tried all the options in the TX 'PPM in' menu of the TX to no avail.
Just like i upload any sketch to the Arduino via a USB cable.
In my Arduino IDE installation - there are Firmata examples under menu->File->Examples->Firmata
Oh...none of them - that was before i understood that i need to upload the Firmata example from the Arduino IDE and tried to upload the protocol description from Richard Prinz's page, by mistake.
The PC software seems to 'see' the Arduino. The Arduino does not seem to 'see' the Devo 7E TX. Therefore i am still not able to control the servo concted to the RX, from the PC software channel sliders, but only from the TX sticks.
The correct Arduino sketch is already given in the download ZIP file at Richard's page. Everything is working nice for me now - besides the fact that the servos are a little bit wobbling and vibrating, when under the PC control and not vibrating at all, under the TX control.