NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » Error during make
December 05, 2010 by dwillson |
I have copied some code from the internet. When I try to run make I get this error a2d.h:140: error: expected '=', ',', ';', 'asm' or 'attribute' before ' a2dIsComplete'
The code is from robotsociety website for building the $50 robot and i am using it to, hopefully, learn some more about PWM and A2D. I have included <avrlibtypes.h> and u08 is defined. |
---|---|
December 06, 2010 by bretm |
The forum omitted some HTML that you may have pasted in so it doesn't say what you included to define u08. That is indeed what it's complaining about. |
Please log in to post a reply.
Did you know that signed numbers need to be sign-extended when chaging variable sizes? Learn more...
|