Library for FTDI FT800, Support up to 512 x 512 pixel resolution.

Dependents:   FT800-Demo-Sliders FT800-Clock FT800-Demo-Bitmap

Hardware

https://os.mbed.com/media/uploads/nz/display-43.jpg

Info

Revision:
5:b28ce8616b41
Parent:
4:5bcc69cb157a
--- a/FT800_Functions.h	Sun Dec 20 23:27:17 2020 +0000
+++ b/FT800_Functions.h	Wed Dec 30 17:12:59 2020 +0000
@@ -35,10 +35,11 @@
     uint32_t    Read32(uint32_t addr);
     //----------------------------CONFIGURATION--------------------------------------
     void        HostCommand(uint8_t cmd);
-    //---------------------------------MEM-------------------------------------------
-    //void FT800_writeMemZero(uint32_t pointer, uint32_t number);
-    //void FT800_writeMemSet(uint32_t pointer, uint32_t value, uint32_t number);
-    //void FT800_writeMemCpy(uint32_t source, uint32_t destination);
+    //----------------------------MEMORY RAM_G---------------------------------------
+    void  writeMemZero(uint32_t ptr, uint32_t numb);
+    void  writeMemSet(uint32_t ptr, uint32_t value, uint32_t numb);
+    void  writeMemCpy(uint32_t dest, uint32_t source, uint32_t numb);
+    void  writeMemWrt(uint32_t ptr, uint32_t numb);
     //--------------------------------INIT-------------------------------------------
     void  Init();
     void  Sleep(uint16_t ms);
@@ -123,16 +124,17 @@
     void  bitmapTransformC(int32_t value);
     void  bitmapTransformD(int32_t value);
     void  bitmapTransformE(int32_t value);
-    void  bitmapTransformF(int32_t value);    
+    void  bitmapTransformF(int32_t value);
     void  loadIdentity(void);
     void  setMatrix(void);
     void  scale(int16_t sx, int16_t sy);
     void  translate(int16_t tx, int16_t ty);
     void  rotate(int16_t a);
+    void  inflate(uint32_t ptr);
     void  loadJpgCMD(uint32_t ptr, uint32_t opt);
     //---------------------------------TEST------------------------------------------
-    void  writeGraphRAM8 (uint32_t addr, const uint8_t data[], uint16_t lng);
-    void  writeGraphRAM16(uint32_t addr, const uint16_t data[], uint16_t lng);
+    void  writeRAMG  (uint32_t addr, const uint8_t  data[], uint32_t lng);    
+    void  writeRAMG16(uint32_t addr, const uint16_t data[], uint16_t lng);
     void  drawChar16(int16_t x, int16_t y, const uint16_t font[], uint16_t n);
     void  drawChar16(int16_t x, int16_t y, uint32_t color, int16_t scl, uint16_t n);
 };  // end of class