robotastic / ANCS-Library

Library to handle ANCS notifications with an AVR and Nordic's nrf8001
53 stars 8 forks source link

Not compatible with Mega2560? #10

Open momeedees opened 9 years ago

momeedees commented 9 years ago

I am trying to upload the sketch to a Mega 2560. avrdude says: Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801 avrdude: reading input file "/var/folders/vf/8lqdryl5469bl0rymdr5kk100000gn/T/build3477704793356887394.tmp/ancs_lcd.cpp.hex" avrdude: writing flash (22030 bytes):

Writing | ####

avrdude: stk500v2_ReceiveMessage(): timeout

if I comment out "notif.ReadNotifications();" in the loop, the sketch uploads.

Am I missing something here? Should be working on a Mega.