This shows you the differences between two versions of the page.
pm:lab:lab3-2021 [2021/03/29 09:30] alexandru.predescu [4. Exerciții] |
pm:lab:lab3-2021 [2021/04/02 10:55] (current) alexandru.predescu [4. Exerciții] |
||
---|---|---|---|
Line 414: | Line 414: | ||
void setup() { | void setup() { | ||
myservo.attach(9); // attaches the servo on pin 9 to the servo object | myservo.attach(9); // attaches the servo on pin 9 to the servo object | ||
- | setup_interrupts(); | ||
// test led | // test led | ||
DDRD |= (1 << PD7); | DDRD |= (1 << PD7); |