Show Posts
Pages: [1]
1  Products / Arduino Due / Re: Arduino Due libraries (official and 3rd party) on: March 07, 2013, 03:06:29 pm
ported Adafruit's sensor framework and TSL2561 (luminosity sensor) lib to the Due:

https://github.com/ecopoesis/Adafruit_Sensor
https://github.com/ecopoesis/Adafruit_TSL2561
2  Products / Arduino Due / Re: adafruit ST7565 on the Due on: February 18, 2013, 10:06:12 pm
I'm using  pins 4-8. I'll can try the hardware SPI as soon as I get some F-F jumpers so I can connect to it.

For hardware SPI on the Due, do you use the ICSP header or the SPI header? The docs say ICSP, but that makes me wonder why there is a SPI header at all.
3  Products / Arduino Due / adafruit ST7565 on the Due on: February 18, 2013, 08:56:48 pm
Anyone have any luck getting the adafruit ST7565 library working on the Due?

I've got it compiling by adding an ARM version of pgmspace.h, changing AVR only _BV(x) macros to (1<<x) and replacing _delay_ms(x) macro calls with delay(x) calls.

However, the display still doesn't work. Making the same changes (minus pgmspace.h) the code still works on my Uno.

Is it possible that shiftOut is too fast for the ST7565? I tried adding some delays to it, but that didn't help.

My fork of the lib is at https://github.com/ecopoesis/ST7565-LCD/tree/master/ST7565
4  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: January 11, 2013, 04:57:59 pm
Running into another problem: I'm trying to build a project on the Due, and I get the following error:

Code:
---- Compile ----
1.1-CORE: .o < .c arduino_due_x Builds/ WInterrupts.c
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -c -mmcu= -DF_CPU= -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/cores/Arduino -I/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SD -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SD/utility -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/EEPROM -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/Ethernet -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/Ethernet/utility -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/SPI -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/Servo -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/SoftwareSerial -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/Stepper -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/Wire -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/Wire/utility  -g -Os -w -Wall -ffunction-sections -fdata-sections -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/variants/ -DARDUINO=150  /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/cores/Arduino/WInterrupts.c -o Builds/WInterrupts.o
cc1: error: missing argument to "-mmcu="
make: *** [Builds/WInterrupts.o] Error 1

This is with Arduino 1.5.1 and the latest embedxcode. I can compile and upload form Arduino, but even a brand new project in embedxcode fails to compile. Full log is attached
5  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: January 07, 2013, 08:49:07 pm
Excluding the Esplora lib worked. Thanks.
6  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: January 05, 2013, 06:07:52 pm
I'm having issues getting my sketch to compile in Xcode for the Uno. It works fine in the Arduino IDE.

When I run a compile, I get the error:

/Applications/Arduino.app/Contents/Resources/Java/libraries/Esplora/Esplora.cpp:54: error: 'A11' was not declared in this scope
make: *** [Builds/libs/Esplora/Esplora.o] Error 1

I've attached the full error log.

I get this same error with a fresh embedxcode project too. Any ideas where I've gone wrong?
Pages: [1]