#include "HT1621.h" // refere to Macduino website for pin connections and their meaning HT1621 ht(2,3,4); void setup() { register uint8_t i; ht.begin(); ht.sendCommand(HT1621::RC256K); ht.sendCommand(HT1621::BIAS_THIRD_4_COM); ht.sendCommand(HT1621::SYS_EN); ht.sendCommand(HT1621::LCD_ON); // clear memory for(i=0; i<16; i++) ht.write(i,0); // write all zeroes for(i=0; i<16; i++) ht.write(i, 0xBE); } void loop() {}