Skip to content

Instantly share code, notes, and snippets.

@naivekook
naivekook / face_rotation.ino
Created December 24, 2022 17:58
Face rotation for EXP8226 and Max7219
#include <LedControl.h>
int DIN = 12; // D6
int CS = 15; // D8
int CLK = 14; // D5
unsigned long delaytime=1000;
LedControl lc=LedControl(DIN,CLK,CS,1);
byte smile[8]= {0x3C,0x42,0xA5,0x81,0xA5,0x99,0x42,0x3C};
open class CalendarDetailsViewModel() : ViewModel() {
init {
CalendarStore.Task().fetchSingleEvent(eventId)
}
}