Skip to content
Snippets Groups Projects
Commit 5381b70c authored by Quentin Bolsee's avatar Quentin Bolsee
Browse files

Update file README.md

parent 398e23cb
Branches
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ def setup_inputs(pin_list):
def read_inputs():
# return a dictionary of {pin number: pin value}
return {p: pins[p].value for p in pins.keys()}
return {p: pins[p].value() for p in pins.keys()}
```
A host program can send Python objects, and receive some in return. In this case, an entire dictionary of pin values is returned:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment