Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/okeuday/odroid_display

Odroid-C1 Display Service for CloudI
https://github.com/okeuday/odroid_display

c cloudi microservice

Last synced: about 1 month ago
JSON representation

Odroid-C1 Display Service for CloudI

Awesome Lists containing this project

README

        

Odroid-C1 Display Service for [CloudI](https://cloudi.org)
==========================================================

Example use of this service is shown in the [`odroid_fish`](https://github.com/okeuday/odroid_fish#example) repository.

This service shows how CloudI can isolate C dependencies for hardware so
higher-level data processing can run decoupled (keeping the fault-tolerance
constraints on both pieces of source code separate).

Currently only the [16x2 LCD display](https://www.hardkernel.com/shop/16x2-lcd-io-shield/) is supported.
Compilation requires the Odroid-C1 [wiringPi library fork](https://github.com/hardkernel/wiringPi).

Usage
-----

The format for the service request is:

uint8 (7 status LEDs bitmask to set as off)
uint8 (7 status LEDs bitmask to set as on)
uint8 (7 status LEDs bitmask to set opposite value (toggle))
char[] (32 UTF8 characters, '\0' causes no display change)

The characters supported are limited by the HD44780U A00 character set
which is commonly used for LCD displays.

The supported UTF8 characters are:

* ' ' (no-break space)
* ¢
* ¥
* °
* µ
* ·
* ä
* ñ
* ö
* ÷
* ü
* Σ (upper greek sigma)
* Ω (upper greek omega)
* α (lower greek alpha)
* β (lower greek beta)
* γ (lower greek delta)
* ε (lower greek epsilon)
* θ (lower greek theta)
* μ (lower greek mu)
* π (lower greek pi)
* ρ (lower greek rho)
* ₤ (lira currency)
* ← (left arrow)
* → (right arrow)
* ∑ (n-ary summation (upper greek sigma))
* √ (square root)
* ∞ (infinity)
* ⌜ (top left corner)
* ⌟ (bottom right corner)
* █ (full block)

The unsupported ASCII characters are:

* \
* ~

TODO
----

* Add UTF8 Japanese characters
* Add support for the A02 character set (?)