Last piece to connect client to provider: actually downloading the image and displaying it
This commit is contained in:
@@ -435,8 +435,7 @@ void epd_draw_bitmap_grayscale(epd_color clearColor, const uint8 *bitmap)
|
||||
}
|
||||
}
|
||||
|
||||
// The demo code applies a bitwise NOT to the result
|
||||
g_scratch_buffer[scratch_idx++] = ~output_byte;
|
||||
g_scratch_buffer[scratch_idx++] = output_byte;
|
||||
|
||||
if (scratch_idx >= sizeof(g_scratch_buffer))
|
||||
{
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
enum class epd_color : uint8
|
||||
{
|
||||
BLACK = 0x00,
|
||||
DARK_GRAY = 0x55,
|
||||
LIGHT_GRAY = 0xAA,
|
||||
WHITE = 0xFF
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user