https://github.com/lukehb/arduino_cereal
An example of listening to serial ports in java (using an arduino board)
https://github.com/lukehb/arduino_cereal
arduino java serial-ports
Last synced: about 2 months ago
JSON representation
An example of listening to serial ports in java (using an arduino board)
- Host: GitHub
- URL: https://github.com/lukehb/arduino_cereal
- Owner: lukehb
- License: mit
- Created: 2016-01-18T08:59:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-18T09:09:04.000Z (over 9 years ago)
- Last Synced: 2025-01-12T14:47:32.154Z (4 months ago)
- Topics: arduino, java, serial-ports
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Listening for serial port message from Arduino (using Java).
An example of listening to serial ports in java (using an arduino board).
In this case we scan some serial ports: "COM3", "/dev/ttyACM0", "/dev/tty.usbserial-A9007UX1", "/dev/ttyUSB0" etc.
and if we can connect we listen for a string message. The message we listen for in this example is "Click". When
we recieve the "Click" string we make java simulate a mouse click on the OS.I used this serial monitor application to listen for the "Click" string triggered by moving an accellerometer,
which allowed me to wave the accellerometer up and down to play a web-based flappy bird game.