Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mladenilic/arduino-cereal
Drop-in replacement for Arduino's serial monitor with variable watches.
https://github.com/mladenilic/arduino-cereal
arduino arduino-ide arduino-library
Last synced: about 2 months ago
JSON representation
Drop-in replacement for Arduino's serial monitor with variable watches.
- Host: GitHub
- URL: https://github.com/mladenilic/arduino-cereal
- Owner: mladenilic
- License: mit
- Created: 2020-11-13T15:26:18.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-22T23:55:37.000Z (about 4 years ago)
- Last Synced: 2024-10-31T17:55:32.161Z (about 2 months ago)
- Topics: arduino, arduino-ide, arduino-library
- Language: JavaScript
- Homepage:
- Size: 662 KB
- Stars: 48
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Arduino Cereal Monitor
Drop-in replacement for Arduino's serial monitor with variable watches.
![image](images/example.png)
### How it works
Use `Serial.print`, `Serial.println`, etc. to print data to **[Monitor]** window. To track variables in **[Variables]** window, use *Cereal library* ([documentation & demo](./arduino/README.md)).
### Install
```bash
$ npm install --global arduino-cereal
```OR run it with [npx](https://www.npmjs.com/package/npx)
```bash
$ npx arduino-cereal
```*Requires Node v14.0.0 or later*
### CLI options
```bash
$ arduino-cereal --helpUsage
$ arduino-cerealOptions
--port Serial port
--baud Baud rate (default: 9600)
--theme Theme name (light, dark, black, white)
--fps Screen render rate (default: 15)
```* **port:** – Serial port to which Arduino board is connected.
* **baud:** – Baud rate. Default value 9600
* **theme:** – Change the color theme. Available options are *light*, *dark*, *black*, *black*. The default theme is *dark*. Read more about [theme customization](THEME.md).
* **fps** – Control the rate at which the CLI screen is updated. Helps to deal with flickering on some terminal apps (iTerm). Default: 15Example:
```bash
$ arduino-cereal --port=/dev/tty.usbserial-1410 --baud=19200 --theme=light --fps=10
```### Configuration file
Alternatively, CLI options can be read from a file – `cereal.config.json`. This file is expected to be located in the current working directory.
```json5
{
"port": "/dev/tty.usbserial-1410",
"baud": 9600,
"fps": 15,
"theme": { /** Theme customization options */ }
}
```### Contributing
Contributions are welcome. 🎉
### License
Licensed under the MIT license. See the [LICENSE.md](LICENSE.md) for more information.