Skip to content

Commit

Permalink
Use preprocessor macro to simplify ESP8266_TIMER0_TICKS
Browse files Browse the repository at this point in the history
  • Loading branch information
h4rm0n1c committed Jul 26, 2015
1 parent 86f30fd commit 8650cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMD2_Timer.cpp
Expand Up @@ -33,7 +33,7 @@

//#define NO_TIMERS

#define ESP8266_TIMER0_TICKS 100000 //Number of ticks between DMD refreshes on the ESP8266, theoretically, there are 80 ticks per microsecond,
#define ESP8266_TIMER0_TICKS microsecondsToClockCycles(1000) // 1000 microseconds between calls to scan_running_dmds seems to work well.

#ifdef NO_TIMERS

Expand Down

0 comments on commit 8650cc7

Please sign in to comment.