Skip to content

Commit bc5faa2

Browse files
floitschkasperl
andauthored
Minor improvements to morse-tutorial code. (#521)
Co-authored-by: Kasper Lund <kasper@toit.io>
1 parent aac2e39 commit bc5faa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/language/package/pkgtutorial.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ It assumes that pin 23 is connected to an LED (and an appropriate resistor).
315315
LED-PIN ::= 23
316316

317317
main:
318-
pin := gpio.Pin.out LED-PIN
318+
pin := gpio.Pin --output LED-PIN
319319

320320
10.repeat:
321321
morse-tutorial.emit

0 commit comments

Comments
 (0)