Commit 362d0ed
Update i2c.md
Builtin LED is not set as output in Reader (I2C slave) program. Thus the LED is not turning on.
So following line needs to be added.
pinMode(LED_BUILTIN,OUTPUT); // sets onBoard LED as output1 parent 651aa53 commit 362d0ed
File tree
1 file changed
+2
-0
lines changed- content/hardware/03.nano/boards/nano-every/tutorials/i2c
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
0 commit comments