This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:multiasm:piot:chapter_4_9 [2026/01/20 12:57] – [Examples] ktokarz | en:multiasm:piot:chapter_4_9 [2026/01/20 12:59] (current) – [Examples] ktokarz | ||
|---|---|---|---|
| Line 56: | Line 56: | ||
| **Read digital input (PD2, bit 2 on PORTD)** | **Read digital input (PD2, bit 2 on PORTD)** | ||
| + | <code c> | ||
| void setup() { | void setup() { | ||
| Serial.begin(9600); | Serial.begin(9600); | ||
| Line 69: | Line 70: | ||
| delay(200); | delay(200); | ||
| } | } | ||
| - | | + | </ |