Reference Language | Libraries | Comparison | Changes
Create a variable of type Trixel which must be initialized by begin() before use.
Trixel(lcd)
lcd: a pointer to a variable of type LiquidCrystal
#include <LiquidCrystal.h> #include <Trixel.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); Trixel t(&lcd); void setup() { lcd.begin(7, 2); t.begin(7, 2); t.setDot(2,0); t.setDot(4,0); t.setDot(1,1); t.setDot(3,1); t.setDot(5,1); t.setDot(1,2); t.setDot(5,2); t.setDot(1,3); t.setDot(5,3); t.setDot(2,4); t.setDot(4,4); t.setDot(3,5); t.show(); } void loop() {}
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.