Update README.md

This commit is contained in:
Attila Magyar 2021-07-03 18:37:00 +02:00 committed by GitHub
parent 23fb715c86
commit 5ea06380dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -521,3 +521,19 @@ tone ( hz ms -- )
The `tone` word is for generating a tone with a given frequency and duration. The `tone` word is for generating a tone with a given frequency and duration.
### Camera LED
```forth
torch ( n -- n )
```
`torch` toggles the built-in camera LED.
```forth
1 torch .
500 ms
0 torch .
```
This will turn on the LED for 500 milliseconds.