Hi,
I’m using Gnoduino to compile and flashing Arduino sketches.
With the following changes I was able to compile the code
diff --git a/Code/Servotor32_Default/Servotor32.cpp b/Code/Servotor32_Default/Servotor32.cpp
index caae3d6..f6b08ba 100644
--- a/Code/Servotor32_Default/Servotor32.cpp
+++ b/Code/Servotor32_Default/Servotor32.cpp
@@ -4,7 +4,7 @@
#include <string.h>
#include "Arduino.h"
-#include "SERVOTOR32_SPI.h"
+#include "Servotor32_SPI.h"
#include "Servotor32_TimerOne.h"
Servotor32::Servotor32()
diff --git a/Code/Servotor32_Default/Servotor32_Default.ino b/Code/Servotor32_Default/Servotor32_Default.i
index d768833..290f3c8 100644
--- a/Code/Servotor32_Default/Servotor32_Default.ino
+++ b/Code/Servotor32_Default/Servotor32_Default.ino
@@ -1,4 +1,5 @@
#include "Servotor32.h" // call the servotor32 Library
+#include "HID.cpp"
Servotor32 hexy; // create a servotor32 object
void setup() {
Unfortunately, I cannot flash the binary to the board.
The error log signals:
/usr/bin/avr-objcopy -O ihex -R .eeprom /tmp/build1358877235.58tBIcok/Tempobj5sEkl3.elf /tmp/build1358877235.58tBIcok/Tempobj5sEkl3.hex
compile done.
avrdude -v -v -v -F -D -P/dev/ttyACM1 -carduino -b1200 -patmega32u4 -Uflash:w:/tmp/build1358877235.58tBIcok/Tempobj5sEkl3.hex:i
avrdude: Version 5.11.1, compiled on Oct 30 2011 at 10:41:10
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/yggdrasil/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM1
Using Programmer : arduino
Overriding Baud Rate : 1200
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
What went wrong?
Regards,
Yggdrasil
