<< Retour au projet Arduino Game
void setup() { pinMode(13, OUTPUT); } void loop() { // HIGH __asm__ __volatile__ ( "ldi r18,0b00100000 ; bit 5 (pin 13)" "out 5,r18 ; portB" ); delay(500); // LOW __asm__ __volatile__ ( "ldi r18,0b00000000 ; bit 5 (pin 13)" "out 5,r18 ; portB" ); delay(500); }