Skip to content
Snippets Groups Projects
Commit b2918c36 authored by Julia Scharsich's avatar Julia Scharsich
Browse files

Update lay1+2_remastered.c

parent 6400f062
No related branches found
No related tags found
No related merge requests found
...@@ -278,7 +278,7 @@ void setup_Timer(){ ...@@ -278,7 +278,7 @@ void setup_Timer(){
* = 23436 (DEC) * = 23436 (DEC)
* = 5B8C(HEX) * = 5B8C(HEX)
*/ */
OCR1A = 12000000/256/10; // 0x1D4; // = 0.01s //0x124F; // = 0.1s OCR1A = 12000000/256/100; // 0x1D4; // = 0.01s //0x124F; // = 0.1s
// If TCNTn == OCR1A a timer overflow occurs which can trigger an interrupt. // If TCNTn == OCR1A a timer overflow occurs which can trigger an interrupt.
TCCR1B |= (1 << WGM12); TCCR1B |= (1 << WGM12);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment