Skip to content

Commit e808a3b

Browse files
author
Dave Conway-Jones
committed
make Deploy button a button style
1 parent 180788e commit e808a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/hardware/raspberrypi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ okay, click in the workspace to place the new nodes.
8484

8585
[{"id":"860e0da9.98757","type":"function","name":"Toggle LED on input","func":"\n// select wpi pin 0 = pin 11 on header (for v2)\nvar pin = 0;\n\n// initialise the wpi to use the global context\nvar wpi = context.global.wpi;\n\n// use the default WiringPi pin number scheme...\nwpi.setup();\n\n// initialise the state of the pin if not already set\n// anything in context. persists from one call to the function to the next\ncontext.state = context.state || wpi.LOW;\n\n// set the mode to output (just in case)\nwpi.pinMode(pin, wpi.modes.OUTPUT);\n\n// toggle the stored state of the pin\n(context.state == wpi.LOW) ? context.state = wpi.HIGH : context.state = wpi.LOW;\n\n// output the state to the pin\nwpi.digitalWrite(pin, context.state);\n\n// we don't \"need\" to return anything here but may help for debug\nreturn msg;","outputs":1,"x":333.16666412353516,"y":79.16666793823242,"wires":[["574f5131.36d0f8"]]},{"id":"14446ead.5aa501","type":"inject","name":"tick","topic":"","payload":"","repeat":"1","once":false,"x":113.16666412353516,"y":59.16666793823242,"wires":[["860e0da9.98757"]]},{"id":"574f5131.36d0f8","type":"debug","name":"","active":true,"x":553.1666641235352,"y":99.16666793823242,"wires":[]}]
8686

87-
Click the deploy button and the flow should start running. The LED should start
87+
Click the `Deploy` button and the flow should start running. The LED should start
8888
toggling on and off once a second.
8989

9090
***

0 commit comments

Comments
 (0)