 |
Serial Wombat Arduino Library
|
Go to the documentation of this file.
97 int16_t
begin(uint8_t vsyncPin, uint16_t bufferIndex = 0)
166 int16_t
fillRect(uint8_t x, uint8_t y, uint8_t w, uint8_t h,
175 (uint8_t)(x + w - 1),
Class for a Serial Wombat chip. Each Serial Wombat chip on a project should have its own instance.
Definition: SerialWombat.h:283
int16_t setLineColor(uint8_t color, uint8_t start, uint8_t end)
Set the color of a horizontal line.
Definition: SerialWombat18ABVGA.h:214
@ CONFIGURE_PIN_MODE0
(200)
SerialWombatChip & _sw
Definition: SerialWombatPin.h:134
int16_t writePixel(uint8_t x, uint8_t y, uint8_t color)
Write a pixel to the buffer.
Definition: SerialWombat18ABVGA.h:121
int16_t fillScreen(uint8_t color)
fill the entire screen
Definition: SerialWombat18ABVGA.h:141
int16_t fillRect(uint8_t x, uint8_t y, uint8_t w, uint8_t h, uint8_t color)
Draw a filled rectangle on the screen.
Definition: SerialWombat18ABVGA.h:166
int16_t setLineColor(uint8_t color, uint8_t y)
Set the color of a horizontal line.
Definition: SerialWombat18ABVGA.h:192
Describes a Serial Wombat Pin. Is base class for other pin modes.
Definition: SerialWombatPin.h:38
uint8_t _pinMode
Definition: SerialWombatPin.h:135
int sendPacket(uint8_t tx[], uint8_t rx[])
Send an 8 byte packet to the Serial Wombat chip and wait for 8 bytes back.
Definition: SerialWombat.cpp:114
A class for the Serial Wombat SW18AB chip VGA Driver.
Definition: SerialWombat18ABVGA.h:81
uint8_t _pin
Definition: SerialWombatPin.h:133
@ CONFIGURE_PIN_MODE2
(202)
#define SW_LE16(_a)
Convert a uint16_t to two bytes in little endian format for array initialization.
Definition: SerialWombat.h:41
SerialWombat18ABVGA(SerialWombatChip &serialWombat)
Constructor for the SerialWombat18ABVGA class.
Definition: SerialWombat18ABVGA.h:88
@ CONFIGURE_PIN_MODE1
(201)
int16_t begin(uint8_t vsyncPin, uint16_t bufferIndex=0)
Initalize the SerialWombat18ABVGA.
Definition: SerialWombat18ABVGA.h:97
@ PIN_MODE_VGA
(31)
Definition: SerialWombat.h:269