This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LEDMatrixDriver lmd(1, SS_PIN); | |
//other init (enabled, intensity...) | |
uint8_t* digits = lmd.getFrameBuffer(); | |
for (int i = 0; i < 8; i++) | |
{ | |
digits[i] = 1 << i; | |
}; | |
lmd.display(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(115200); | |
} | |
void loop() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Espressif 32 v 1.1.2 | |
Display library: https://github.com/adafruit/Adafruit_SSD1306.git | |
Board: Heltec Wifi32 | |
*/ | |
#include <Arduino.h> | |
#include <Adafruit_SSD1306.h> | |
#include <Wire.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
from time import sleep | |
import signal | |
from jpype import * | |
startJVM(getDefaultJVMPath()) | |
def handler(signum, frame): | |
raise KeyboardInterrupt |