You are not logged in.
Hi,
I've managed to get the Arduino IDE (0021) from AUR to work on Arch 64bit system. I input the blinking LED sketch into the IDE, it compiled and uploaded to the board (Arduino Mega1280) without problems.
However, it runs in turbo boost. Using the delay(1000) function which is supposed to introduce a delay of 1 second, results in the LED blinking MUCH faster than once per second - probably at around 10Hz (10 times per second). Compiling and uploading the same sketch on windows works fine. Also, changing the delay to, for example, delay(5000) slows down the blinking rate (still faster than once per second tho).
The question is why is this happening? How to fix it? How can I ever trust it again?
Thanks for any suggestions in advance,
-Igor
Offline
i havent used an arduino board, but ive used avr microcontrollers in the past:
check if the hfuse and lfuse match the ones being set by the arduino ide. its probably that.
for more info on the hfuse and lfuse, read the avr datasheet
Offline
Hi eldragon,
I've looked through the datasheet regarding fuses, and from other reading I think the arduino IDE does not touch the fusees at all since it does not use a hardware programmer, but programs the MCU through a bootloader preloaded on the chip.
I suspect it might be an avr library issue, but I'm pretty new to the MCU scene so this might be totally off track.
-Igor
Offline
then i dont think i can help you further, sorry
Offline