ICT: Diary
D: 28 W: 05
| < | February 2014 | > | ||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | |
[ < ]
Wednesday, 12 February 2014 [ >
]
Arduino in C
When building my code for my arduino I kept getting the following error:
make: don't know how to make Adafruit_GFX.o (prerequisite of: applet/core.a)
The answer was to change the library names from dashes to underscores (adafruit learning system)
I then received lots errors like:
error: 'int16_t' has not been declared
Made sure I was using the latest BSDmakefile and then the error changed to:
*** Error 1 in /home/fred/code/arduino/backp (BSDmakefile:246 'applet/backp.elf')
Turned out that I was missing utility/twi from the libraries line in
LIBRARIES=Wire Adafruit_GFX Adafruit_LEDBackpack utility/twi
with this the hex file built.
South Region BMX Pre-Reg
$Id: dates.htm,v 1
$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $