Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor mistakes in welcome-to-xod project #2096

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion workspace/welcome-to-xod/104-button/patch.xodp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comments": [
{
"content": "# Buttons\n\nHere is a `button` node from `xod/common-hardware`.\n\nTake a look at button outputs. It has a `PRS` pin, which is true whenever it is pressed. And `DONE` pin, which pulses when reading is done, wherever the button is pressed or not.\n\nThis is a standard idiom for side-effect nodes representing hardware or, for example, the Internet.\n\n## Exercise\n\nLet's make the LED glow while the button is pressed.\n\n1. Assemble the [circuit with a button and LED](https://xod.io/docs/tutorial/104-button/?utm_source=ide&utm_medium=ide_comment&utm_campaign=tutorial#circuit).\n2. Set the `PORT` value of the `button` node.\n3. Link `PRS` to `LUM`.\n4. Upload your patch.\n\nHold the button to turn the LED on.",
"content": "# Buttons\n\nHere is a `button` node from `xod/common-hardware`.\n\nTake a look at button outputs. It has a `PRS` pin, which is true whenever it is pressed. And `DONE` pin, which pulses when reading is done, wherever the button is pressed or not.\n\nThis is a standard idiom for side-effect nodes representing hardware or, for example, the Internet.\n\n## Exercise\n\nLet's make the LED glow while the button is pressed.\n\n1. Assemble the [circuit with a button and LED](https://xod.io/docs/tutorial/104-button/?utm_source=ide&utm_medium=ide_comment&utm_campaign=tutorial#circuit).\n2. Set the `PORT` value of the `button` node to `D13` because it’s connected to the board's digital port 13.\n3. Link `PRS` to `LUM`.\n4. Upload your patch.\n\nHold the button to turn the LED on.",
"id": "HJzSJTKCwV",
"position": {
"units": "slots",
Expand Down
12 changes: 6 additions & 6 deletions workspace/welcome-to-xod/108-text-lcd/patch.xodp
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
},
{
"boundLiterals": {
"BJxIhfrk7B": "D11",
"BJxIhfrk7B": "D6",
"HJInzryQr": "\"Hello\"",
"HJbIhGB1XB": "\"World\"",
"SkzI2fBkmH": "D9",
"r1QLnzH1mr": "D10",
"rk8I2fHkXH": "D8",
"rkVLnGSJQS": "D12",
"ryHL2GHyQS": "D13"
"SkzI2fBkmH": "D4",
"r1QLnzH1mr": "D5",
"rk8I2fHkXH": "D3",
"rkVLnGSJQS": "D7",
"ryHL2GHyQS": "D8"
},
"id": "r1G7wFeXB",
"position": {
Expand Down
6 changes: 6 additions & 0 deletions workspace/welcome-to-xod/110-ldr/patch.xodp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"type": "xod/debug/watch"
},
{
"boundLiterals": {
"r1l3XcR17": "A2"
},
"id": "SkSOIt1ON",
"position": {
"units": "slots",
Expand All @@ -48,6 +51,9 @@
"type": "xod/common-hardware/analog-sensor"
},
{
"boundLiterals": {
"B1oqkTnIb": "D11"
},
"id": "rJJbwKy_E",
"position": {
"units": "slots",
Expand Down