|
From: | Ron McCurdy |
Subject: | [avr-gcc-list] (no subject) |
Date: | Tue, 10 Jul 2012 08:45:19 -0500 |
[code] #include <Arduino.h> int main(void) { init(); #if defined(USBCON) USBDevice.attach(); #endif setup(); for (;;) { loop(); if (serialEventRun) serialEventRun(); } return 0; } [ERROR] Undefined reference to "setup" What is wrong with this picture?
[Prev in Thread] | Current Thread | [Next in Thread] |