Skip to content

Instantly share code, notes, and snippets.

View TiNredmc's full-sized avatar
💚

TinLethax TiNredmc

💚
View GitHub Profile
@TiNredmc
TiNredmc / scdq5541.pde
Created October 13, 2018 04:56 — forked from lpereira/scdq5541.pde
Interfacing Osram SCDQ5541 dot-matrix display with an Arduino
class SCDQ5541 {
private:
int m_clock, m_data, m_load;
void bitbang(unsigned char code)
{
digitalWrite(m_load, LOW);
for (int i = 0; i < 8; i++) {
digitalWrite(m_clock, LOW);
digitalWrite(m_data, code & 0x01);