Files @ af534c6b892a
Branch filter:

Location: therm/ssd1306.h

Ethan Zonca
Fixed pin configurations, SPI now clocks correctly and garbage shows up on the OLED display
#ifndef   ssd1306_H
#define   ssd1306_H
#include "DrawText.h"

void  ssd1306_Init(void);
void  StartPageTransfer(void);
extern  const DeviceProp  ssd1306_Prop;
unsigned long ssd1306_DrawBlock(Pos_t x, Pos_t y, Pos_t cx, Pos_t cy, const unsigned char* data);
unsigned long ssd1306_IsOn(void);
unsigned long ssd1306_TurnOff(void);
unsigned long ssd1306_TurnOn(void);
unsigned char ssd1306_SetContrast(unsigned char contrast);
unsigned char ssd1306_GetContrast();
unsigned char* ssd1306_GetBuffer();
unsigned long ssd1306_DrawPoint(Pos_t x, Pos_t y, Color_t color);

#endif