Boh, ho semplicemente caricato lo sketch su Arduino e collegato il sensore sul pin 7. Però non lo riconosce, sbaglierò sicuramente qualcosa.
Inviato dal mio EVA-L09 utilizzando Tapatalk
Inviato dal mio EVA-L09 utilizzando Tapatalk
sketch_may24a.ino: In function ‘void loop()’: sketch_may24a.ino:391:1: error: jump to label ‘err_C’ [-fpermissive] sketch_may24a.ino:380:68: note: from here sketch_may24a.ino:381:15: note: crosses initialization of ‘uint8_t cfg2’ sketch_may24a.ino:391:1: error: jump to label ‘err_C’ [-fpermissive] sketch_may24a.ino:371:68: note: from here sketch_may24a.ino:381:15: note: crosses initialization of ‘uint8_t cfg2’ sketch_may24a.ino:372:15: note: crosses initialization of ‘uint8_t cfg1
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20
Commenta