23 lines
469 B
C++
23 lines
469 B
C++
#include "sim_oled.h"
|
|
#include "graphics.h"
|
|
#include <conio.h>
|
|
|
|
void SIM_OLED_INIT(int width, int height, uint32_t pixcolor, uint32_t backcolor, int scale, uint8_t b) {
|
|
SIM_Display_INIT(width,height,pixcolor,backcolor,scale,b);
|
|
}
|
|
|
|
void SIM_OLED_START() {
|
|
SIM_Display_START();
|
|
}
|
|
|
|
void SIM_OLED_STOP() {
|
|
SIM_Display_STOP();
|
|
}
|
|
|
|
void SIM_OLED_DrawFromBuffer(uint8_t *buf, uint8_t width, uint8_t height) {
|
|
SIM_OneColor_DrawFromBuffer(buf,width,height);
|
|
}
|
|
|
|
|
|
|