Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)