This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 copy the file into /etc/init.d/xvfb | |
2 chmod +x /etc/init.d/xvfb | |
3 ./etc/init.d/xvfb start | |
4 # some headless test here | |
5 ./etc/init.d/xvfb stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define LED_PIN 13 | |
#define CPU_HZ 48000000 | |
#define TIMER_PRESCALER_DIV 1024 | |
void startTimer(int frequencyHz); | |
void setTimerFrequency(int frequencyHz); | |
void TC3_Handler(); | |
bool isLEDOn = false; |