File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -195,20 +195,20 @@ for marker in markers:
195
195
### Setting the mode of a pin
196
196
197
197
~~~~~ python
198
- R.ruggeduinos[ ' 1234567890 ' ] .pins[4 ].mode = OUTPUT
199
- R.ruggeduinos[ ' 1234567890 ' ] .pins[4 ].mode = INPUT
200
- R.ruggeduinos[ ' 1234567890 ' ] .pins[4 ].mode = INPUT_PULLUP
198
+ R.ruggeduino .pins[4 ].mode = OUTPUT
199
+ R.ruggeduino .pins[4 ].mode = INPUT
200
+ R.ruggeduino .pins[4 ].mode = INPUT_PULLUP
201
201
~~~~~
202
202
203
203
### Digital Write
204
204
205
205
You can set the output for a pin of the Ruggeduino:
206
206
207
207
~~~~~ python
208
- R.ruggeduinos[ ' 1234567890 ' ] .pins[4 ].mode = OUTPUT
208
+ R.ruggeduino .pins[4 ].mode = OUTPUT
209
209
210
- R.ruggeduinos[ ' 1234567890 ' ] .pins[2 ].digital_write(True )
211
- R.ruggeduinos[ ' 1234567890 ' ] .pins[2 ].digital_write(False )
210
+ R.ruggeduino .pins[2 ].digital_write(True )
211
+ R.ruggeduino .pins[2 ].digital_write(False )
212
212
~~~~~
213
213
214
214
### Digital Read
You can’t perform that action at this time.
0 commit comments