Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harium/malt-java
Serial experiments
https://github.com/harium/malt-java
arduino java jserialcomm serial
Last synced: about 1 month ago
JSON representation
Serial experiments
- Host: GitHub
- URL: https://github.com/harium/malt-java
- Owner: Harium
- License: lgpl-2.1
- Created: 2015-02-18T21:18:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-07-10T01:28:10.000Z (over 6 years ago)
- Last Synced: 2023-08-12T10:57:01.426Z (over 1 year ago)
- Topics: arduino, java, jserialcomm, serial
- Language: Java
- Size: 470 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Malt
----Malt is a Java library that handles serial communication, it wraps
[jSerialComm](https://github.com/Fazecast/jSerialComm).
It can be used to send and receive messages between Java and Arduino (or other microcontrollers).## Maven
```com.harium.malt
malt
0.1.0```
## Generating a local jar
```
mvn package -Dmaven.test.skip=true
```## Examples
See: [malt-examples](https://github.com/Harium/malt-examples)
### Troubleshout
##### Avoid /var/lock permission issues
- Install uucp library:
In Fedora:
```
sudo yum install -y uucp
```In Ubuntu:
```
sudo apt-get install -y uucp
```- Add permission to edit /var/lock
```
sudo chown uucp /var/lock
sudo usermod -aG uucp $USER
sudo nano /etc/group (change uucp:x:#:{username} to uucp:x:#:uucp,{username})
sudo chgrp uucp /var/lock
sudo chmod 775 /var/lock
```- Don't forget to logout!
#### References
- [http://playground.arduino.cc/Interfacing/Java](http://playground.arduino.cc/Interfacing/Java)
- [http://ubuntuforums.org/showthread.php?t=547410](http://ubuntuforums.org/showthread.php?t=547410)