Not yet. Lets see if we can't get GoBetwino working first. If so, then the change that needs to be made to GoBetwino probably needs to be made to the other classes you are having issues with.
MikMo sent me a link to the new version of GoBetwino to test. It works with the Mega, the Duemilanove, AND the Leonardo. I'm sure he'll be making it available for all, soon.
There is also a little bug that was discovered recently that i will fix.
While you're at it...
It would be nice to change the serial port, and have that close the existing port, if opened, and open the new one, without having to restart GoBetwino.
The Leonardo uses a different USB to Serial converter chip from other Arduinos. This one appears to need the DtrEnable flag (Data Terminal Ready) set in order for communications to occur.
My code had it; why I can not remember. MikMo's (and most other) code does not, because it has not been necessary, until now.
MikMo added it to his code. His code is now able to talk to the Leonardo.
It's time, I think, for you to open the other threads we talked about, mentioning your inability to communicate with the Leonardo. Reference this thread, so the fix needed is obvious. I'm sure that quick turnaround will be possible on the other code will be made, too.
Guys excuse my english..I'm very new to arduino stuff..
I have exactly the same problem that you had with the Leonardo but in my case still doesn't work..Even the samples for the commands LOGFL..
To be more specific..
My project is very simple..An arduino leonardo, a light sensor and a relay..I want to save into a text file or a cvs file the lightning values that the sensor measures every 2 seconds (for example)..I've downloaded the gobetwino that you suggested here for the Leonardo.I've made a txt file, but the only thing i get is that the "Serial port : COM8 opened at 9600 baud."
Here is my little code also in case that i've done something wrong..
#include <TinkerKit.h>
TKLightSensor sensor(I0);
TKRelay relay(O0);
int val =0;
//int countclosed=0;
void setup() {
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
}
First i upload the sketch, then i open gobetwino(in the same port of course), but nothing happens..They seem not to communicate at all.
Thanks anyway, i'll be grateful if someone has any idea of what to do, or what i'm doing wrong..