with the fabulous help of @Gordon
there is an example code for working with alfazeta 7x7 flipdots panel (around 80€ + shipping)
/* 5 wires used on pin A8, B7, B6 + a RS485 module
B6 -> DI from RS485 module
B7 -> DE, RE pins
A8 -> RO pin
+ GND
+ 5v
*/
var TX_ENABLE_PIN = A8;
var TX_PIN = B6;
var cpt=0;
var g = Graphics.createArrayBuffer(8,7,1);
var text = "I love Espruino";
function sendData() {
if (cpt < -g.stringWidth(text))
cpt = 7;
g = Graphics.createArrayBuffer(8,7,1);
g.setFontDennis8();
g.drawString(text,cpt,0);
Serial1.write([0x80,0x87,0xFF],g.buffer,[0x8F]);
cpt--;
}
function onInit() {
require("FontDennis8").add(Graphics);
Serial1.setup(9600,{tx:TX_PIN});
digitalWrite(TX_ENABLE_PIN, 1);
setInterval(sendData, 150);
}
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
with the fabulous help of @Gordon
there is an example code for working with alfazeta 7x7 flipdots panel (around 80€ + shipping)
and a video demo of code