-
Notifications
You must be signed in to change notification settings - Fork 86
detect usb serial
Matthias Görges edited this page May 20, 2015
·
1 revision
detect-usb-serial returns the name of the first usb-serial port found on a unix-like operating system.
Example 1: Obtain name for serial port and then connect to a monitor using it
;; Get serial port
(set! gui:source (cond
((string=? (system-platform) "linux") (detect-usb-serial))
((string=? (system-platform) "win32") "COM5")
((string=? (system-platform) "macosx") (detect-usb-serial))
(else ""))
)
(make-instance store "BISmonitor" "monitor" `("Port" ,gui:source))
-
- 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