MobiFlight / CommunityDevices

MIT License
1 stars 1 forks source link

Community Device GNC255

This custom device supports a 256x64 pixel OLED display with predifined outputs like the original GNC255. The display uses hardware SPI for communication, so you MUST use the following pins:

Mega

Pico

For now these pins have to be defined within the connector to mark them as used. This will be changed later.

Connect your display accordingly the above used pins. Depending on your display, you might need to adjust some jumpers on the controller board to enable the SPI interface - below is one example of such display that works once the zero ohm resistors were moved to the positions marked with yellow. Some boards might be already configured for SPI, so check the datasheet or sales listing carefully.

image

Community Device GenericI2C

This device forwardes the defined messages from mobiflight.genericI2C.device.json to I2C. If you need more than 2 messages, extend the device.json file accordingly.

Connect an I2C device to the 2wire bus to receive the informations. This device must handle the messageID and the message. The messageID and the message is send as a string.

In the folder /example an .ino is available which shows how to receive messageID and message and how to handle this. To get it compiled the files I2C_slave.cpp and I2C_slave.h have to be in the same folder.