-
Notifications
You must be signed in to change notification settings - Fork 86
serial readchar
Chris Petersen edited this page Oct 16, 2014
·
1 revision
serial-readchar reads a character to RS232 device
Parameter | Description |
---|---|
dev | Serial device obtained from rs232-try |
Example 1: From (serial-cache-read dev . hook), where the starting character of the cache is to be found:
(if (not buf)
(let loop ()
(let ((c (serial-readchar dev)))
(if (or (serial-timeout) (serial-error)) (return #f))
(if hookproc (hookproc c))
(if (if (procedure? c1) (c1 c) (fx= c c1)) (set! buf (string (integer->char c))) (loop))
))
)
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip