Building the interface.
Java Swing.
Useful code.
|
This code enables the user to make two way serial communication between Java and a microcontroller (in my case an Arduino Mega2560).
Quite simple event based routines for data transfer. |
|
This code is the superior version for two way serial communication between Java and a microcontroller. This one should be used over the code above.
|
|
This is the old JFreeChart code used to plot the tank measurements. Due to using extend ApplicationFrame which has an automatic EXIT_ON_CLOSE function, its not useful in the newer version of the application as we need it to remain open even after the graph is closed.
The new version will operate on a frame. |