|
|||||||
![]() |
Forum Index > Projects > LED Pegboard and Matrix Projects | ||
Another Peggy 2 Arduino tip |
|||
| | | Printable Version |
|
Windell | ||||||||
|
We've noticed that Peggy 2 can give a somewhat jittery display sometimes when programmed from the Arduino environment. The reason is that there is a timer interrupt (for the millisecond timer) that happens approximately once per millisecond. If you are (1) using the "standard" Peggy 2 libraries and (2) not using the millisecond timer or other Arduino functions that obviously require interrupts, you can usually smooth things out again by turning off global interrupts. PHP Formatted Code asm("cli");
Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 11:00 PM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits