Skip to content

Commit 0e0d2c2

Browse files
committed
Remove board indices from ruggeduino docs
1 parent 464ba8c commit 0e0d2c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

programming/sr/ruggeduinos/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ You can only set digital outputs (there's no analogue output, although you may f
110110
# R.ruggeduinos[RUGGEDUINO_BOARD_NUMBER].pins[PIN_NO].digital_write(VALUE)
111111

112112
# to set Ruggeduinos pin 2 high:
113-
R.ruggeduinos[0].pins[2].digital_write(True)
113+
R.ruggeduino.pins[2].digital_write(True)
114114

115115
# to set Ruggeduino's pin 2 low:
116-
R.ruggeduinos[0].pins[2].digital_write(False)
116+
R.ruggeduino.pins[2].digital_write(False)
117117
~~~~~
118118

119119
[Pull-up resistors](#pullup) {#pullup}

0 commit comments

Comments
 (0)