Display your computer's RAM usage on a 7 segment 4 digit display connected to an Arduino.
For now memduino needs to be compiled from source.
- Configure the first 12 macros in sketch_memduino/sketch_memduino.ino to fit your particular setup.
- Upload sketch_memduino/sketch_memduino.ino to your Arduino.
git clone https://github.com/oda404/memduino
cd memduino
cmake -B build .
sudo make -C build
sudo make -C build install-all
Feel free to port it.
To see a list of all the available options run:
memduinod -h
You can either run memduinod
in a terminal, passing it any options you want. Example:
sudo memduinod --serial-port /dev/ttyUSB0 --update-interval 500
or you can run memduinod
as a systemd service by first appending any options you want to the MEMDUINO_ARGS variable in /etc/memduino/args
,
and starting it with:
sudo systemctl start memduinod
If you also want memduinod
to start at boot run:
sudo systemctl enable memduinod
cd <repo-location>
sudo make -C build uninstall-all
This code is licensed under the MIT license.