neon

module
v0.0.0-...-6d09ece Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: MPL-2.0

README

Neon

An alternative implementation for Argon40's EON case. The official repository is a mix of shell and Python scripts that is controlled by a single shell loop.

The scope of this repository is to cover basics for the Argon EON case; I don't have their other products to test my implementation against.

Installation

No user-friendly installation instructions are available yet.

To obtain a binary, run

$ make build-aarch64

This will generate aarch64 binary bin/aarch64/neond.

Place it into your Argon system (no matter the Linux distribution). Set up a cron job, systemd service or other system of your preference and let it run.

i2c bus

The i2c bus is required to make the i2c bus available to the programs on the system.

On Raspberry Pi OS, you can do it via raspi-config. Otherwise, make sure the following lines are present in /boot/config.txt:

dtparam=i2c1=on
dtparam=i2c_arm=on

Reboot after making the changes; after that the system should be able to detect the case's daughter board on the bus 1a and the case's OLED display on the bus 3c. It should look something like this:

$ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- 1a -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Contributing

This source code of the project is published under the Mozilla Public License 2.0. The license files for included fonts are included in the media/font/ directory, next to the font files themselves.

See HACKING.md if you want to contribute to this project.

FAQ

Q: Why is this project named neon?

A: Several reasons. I did not want to use argon because the Argon 40 may decide to do something similar, resulting in a name clash. I did not want to make an impression that this project is affiliated with them. And it is hard to pick a good project name. An alternative name could have been argon41 for example, but I didn't want to have digits in the name.

Q: What font is the package using?

A: There are several. By default (smaller 8x5 text), we're using a slightly altered version of Scientifica. For bigger (12x6) text, we're using a very slightly altered version of Cozette.

Directories

Path Synopsis
app
cmd
internal
Package service holds app services.
Package service holds app services.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL