Removed unused variable from examples, set default main.c to blink example.

This commit is contained in:
Marvin Blum
2018-10-30 21:35:33 +01:00
parent 9cec38e23c
commit 57072f9ad0
4 changed files with 12 additions and 27 deletions

View File

@@ -24,8 +24,6 @@ void prepare(){
pin_mode(A2, INPUT);
}
unsigned char pwm = 0;
void loop(){
int analog1 = analog_read(A1);
int analog2 = analog_read(A2);

View File

@@ -25,8 +25,6 @@ void prepare(){
pin_mode(8, INPUT);
}
unsigned char pwm = 0;
void loop(){
if(digital_read(10) && digital_read(8)){
digital_write(11, HIGH);