Hello
I want programed the Arduino Mego on Eclipse software (version 3.6.1) but i don't manage it.
I have followed the "How to" (with compiling the librairie on the software) but it doesn't work.
I can build and load my software on arduino but nothing is done.
I have Copy/Paste the "blink" program exemple...
Someone have any idea or any valide configuration for eclipse (with a valid exemple)?
thanks fo your help
This is my main :
int main(void) {
/* Must call init for arduino to work properly */
init();
//
/ Add your setup code here /
//
pinMode(13, 1);
for (;
{
digitalWrite(13, 0); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, 0); // set the LED off
delay(1000); // wait for a second
Yes you are wright.
Because i have mande many test, the last main used (and posted are not OK).
I have update the main as :
dint main(void) {
/* Must call init for arduino to work properly */
init();
//
/ Add your setup code here /
//
pinMode(13, 1);
for (;
{
digitalWrite(13, 1); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, 0); // set the LED off
delay(1000); // wait for a second