Compilation sans erreur, test réel à faire
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
#define LIB_EPAPER_2IN9_H_
|
||||
|
||||
#include "LPC8xx.h"
|
||||
#include "swm.h"
|
||||
#include "spi.h"
|
||||
#include "syscon.h"
|
||||
|
||||
// Pin definition - à modifier
|
||||
#define SPIBAUD 115200
|
||||
@@ -47,17 +50,17 @@
|
||||
void _epaper_spiinit();
|
||||
void _epaper_spitransfer(uint8_t data);
|
||||
uint8_t _epaper_digitalread(uint8_t pin);
|
||||
uint8_t _epaper_digitalwrite(uint8_t pin, uint8_t value);
|
||||
void _epaper_digitalwrite(uint8_t pin, uint8_t value);
|
||||
void _epaper_setlut(const uint8_t* lut);
|
||||
void _epaper_setmemoryarea(uint8_t x_start, uint8_t y_start, uint8_t x_stop, uint8_t y_stop);
|
||||
void _epaper_setmemorypointer(uint8_t x, uint8_t y);
|
||||
void _epaper_setmemoryarea(uint16_t x_start, uint16_t y_start, uint16_t x_stop, uint16_t y_stop);
|
||||
void _epaper_setmemorypointer(uint16_t x, uint16_t y);
|
||||
|
||||
// User functions
|
||||
uint8_t epaper_init();
|
||||
void epaper_sendcommand(uint8_t command);
|
||||
void epaper_senddata(uint8_t data);
|
||||
void epaper_reset();
|
||||
void epaper_setframe(uint8_t* image_buffer, uint8_t x, uint8_t y, uint8_t w, uint8_t h);
|
||||
void epaper_setframe(uint8_t* image_buffer, uint16_t x, uint16_t y, uint16_t w, uint16_t h);
|
||||
void epaper_clearframe(uint8_t color);
|
||||
void epaper_display();
|
||||
void epaper_sleep();
|
||||
|
||||
Reference in New Issue
Block a user