I am using a SV-328 and have been going through the “Programming Orangutans and the 3pi Robot from the Arduino Environment” section of the site. I am using arduino 0021 with pololu library 080929.
I have gotten the blink program to function without any trouble, I have also used other simple examples from other sources and those work with modifying only pin numbers, but when I get to more complex examples which make use of orangutan libraries, I have issues.
I am attempting to compile “OrangutanAnalogExample” and I get this output.
OrangutanAnalogExample.cpp.o: In function `__static_initialization_and_destruction_0':
C:\DOCUME~1\Michael\LOCALS~1\Temp\build8280955802922569218.tmp/OrangutanAnalogExample.cpp:21: undefined reference to `OrangutanLEDs::OrangutanLEDs()'
C:\DOCUME~1\Michael\LOCALS~1\Temp\build8280955802922569218.tmp/OrangutanAnalogExample.cpp:22: undefined reference to `OrangutanAnalog::OrangutanAnalog()'
OrangutanAnalogExample.cpp.o: In function `setup':
C:\DOCUME~1\Michael\LOCALS~1\Temp\build8280955802922569218.tmp/OrangutanAnalogExample.cpp:34: undefined reference to `OrangutanAnalog::startConversion(unsigned char, unsigned char)'
OrangutanAnalogExample.cpp.o: In function `loop':
C:\DOCUME~1\Michael\LOCALS~1\Temp\build8280955802922569218.tmp/OrangutanAnalogExample.cpp:41: undefined reference to `OrangutanAnalog::conversionResult()'
C:\DOCUME~1\Michael\LOCALS~1\Temp\build8280955802922569218.tmp/OrangutanAnalogExample.cpp:42: undefined reference to `OrangutanAnalog::startConversion(unsigned char, unsigned char)'
I assume I have incorrectly installed the libraries as instructed at step 5 (pololu.com/docs/0J17/5), but I am not sure where I went wrong.
When I pull up “sketch>import library” all the libraries appear in the menu, but when I compile the code, I get those errors shown above.
Would it be worthwhile to revert to arduino0012? I noticed that the file paths for 0021 are slightly different, when compared to the instructions at pololu.com/docs/0J17/5