firmware/main.c

changeset 2
114e1283d03a
parent 1
d224ff5c155b
equal deleted inserted replaced
1:d224ff5c155b 2:114e1283d03a
86 OCR1A = 255; // Dutycycle of OC1A = 100% 86 OCR1A = 255; // Dutycycle of OC1A = 100%
87 break; 87 break;
88 default: 88 default:
89 // switch off pwm and driver 89 // switch off pwm and driver
90 OCR1A = 0; 90 OCR1A = 0;
91 PORTB &= _BV(0); 91 PORTB &= ~_BV(0);
92 } 92 }
93 } 93 }
94 94
95 95
96 void main(void) { 96 void main(void) {

mercurial