模板 E Paper Touch Code Api Waveshare Wiki
我们进行了底层的封装,由于硬件平台不一样,内部的实现是不一样的,如果需要了解内部实现可以去对应的目录中查看 在DEV_Config.c(.h)可以看到很多定义,在目录:Touch_e-Paper_Code\c\lib\Config UBYTE DEV_Digital_Read(UWORD Pin); void DEV_Digital_Write(UWORD Pin, UBYTE Value); void DEV_SPI_WriteByte(UBYTE Value); void DEV_SPI_Write_nByte(uint8_t *pData, uint32_t Len); UBYTE I2C_Read_Byte(UWORD Reg, char *Data, UBYTE len); UBYTE I2C_Write_Byte(UWORD Reg, char *Data, UBYTE len); e-paper驱动代码文件,在目录:Touch_e-Paper_Code\c\lib\e-paper 打开.h可以看到如下的函数 The demo codes provided are tested on Arduino UNO.
If you want to use another Arduino board, you may need to change the connection and port the codes by yourself. The RAM of Arduino UNO is too small to realize drawing function of e-Paper. In this case, for most of the e-Paper, we only make the image display function and save the image to flash. We recommend you to use [E-Paper Shield] if you use Arduino UNO. The seven-color e-Paper is not compatible with the e-Paper shield, please note it. Download the program on the product encyclopedia interface, and then unzip it.
Arduino programs are located at ~/Arduino/… Please select the corresponding program to open according to the ink screen model epd_1in02y:Example for 1.02inch e-Paper/1.02inch e-Paper Module epd_1in54: Example for 1.54inch e-paper V1(Balck/White): This version is stopped production which can be bought before 2019-11-22; epd_1in54_V2: Example for 1.54inch e-paper V2(Balck/White): This is the current version which can be bought now (2020-07-29). The e-Paper has V2 sticker on the backside. epd_1in54b: Example for 1.54inch e-paper B(Black/White/Red); epd_1in54b_V2: Example for 1.54inch e-paper B V2(Black/White/Red); epd_1in54c: Example for 1.54inch e-paper C(Black/White/Red);br /> epd_2in7: Example for 2.7inch e-paper(Black/White); epd_2in7b: Example for 2.7inch e-paper B(Black.White/Red); epd_2in7b_V2: Example for 2.7inch e-paper B V2(Black.White/Red);
Development 分支用于存放用户的提交的修改代码,经验证后,我们将移植到主分支中;非常感谢您对我们的支持 The Development branch is used to store the modified code submitted by users. After verification, we will migrate it to the main branch. Thank you very much for your support 这个开发分支用于存放用户的提交的修改代码,经验证后,我们将移植到主分支中;非常感谢您对我们的支持 This development branch is used to store the changes committed by users. After verification, we will migrate them to the main branch. Thank you very much for your support
随着屏幕越来越多,程序包也越来越大,用户移植相对比较复杂;因此我们决定在保留原有git路径的基础下,新建一个目录用于保存以后的新屏幕或者老屏幕分离出来的代码。 With more and more screens and larger packages, user migration is relatively complex. So we decided to create a directory where we could store any new screen or any code that's split from the old one, while keeping the old git path. E-paper_Separate_Program 这个文件用于存放每个墨水屏单独的示例代码,用户在使用时仅需在原本的路径下添加 /E-paper_Separate_Program/xxx (PS: xxx 为对应屏幕名称) E-paper_Separate_Program This file is used to store the separate example code for each electronic paper. Users only need to add /E-paper_Separate_Program/xxx (PS: xxx is the corresponding screen name) to the original path. Jetson Nano、Raspberry Pi、Arduino、STM32例程 Do you have a question about the 4.2inch e-Paper Module and is the answer not in the manual?
我们提供了基于4个硬件平台的示例程序,分别是Arduino UNO, Jetson Nano, Raspberry Pi以及STM32。您可以根据自己的需求查看。(这里是SPI墨水屏通用模板,所以会有些函数不适用于您手上的屏幕,具体以示例程序为准) 程序分为底层硬件接口、中间层墨水屏驱动、上层应用; 实际上使用的语言为C\C++\python: 其中: Jetson Nano、Raspberry Pi、STM32的C语言:EPD库互相兼容,他们只有底层硬件接口不一样,其他都是一样的; Jetson Nano、Raspberry Pi的python:EPD库互相兼容,他们只有底层硬件接口不一样,其他都是一样的; 因此以下分开讲解C\C++\python,每小章节依次讲解底层硬件接口、中间层墨水屏驱动、上层应用 我们进行了底层的封装,由于硬件平台不一样,内部的实现是不一样的,如果需要了解内部实现可以去对应的目录中查看 在DEV_Config.c(.h)可以看到很多定义,包括: 对于Raspberry Pi,在目录:RaspberryPi&JetsonNano\c\lib\Config 对于Jetson Nano,在目录:RaspberryPi&JetsonNano\c\lib\Config 对于STM32,在目录:STM32\STM32-F103ZET6\User\Config e-paper驱动代码文件,在如下的目录中可以找到 对于Raspberry Pi和Jetson Nano,在目录:RaspberryPi&JetsonNano\c\lib\e-Paper 对于STM32,在目录:STM32\STM32-F103ZET6\User\e-Paper 如下图: 打开.h可以看到如下的函数
People Also Search
- 模板:E-paper Touch Code API - Waveshare Wiki
- E-paper for Arduino Use - Waveshare Wiki
- GitHub - waveshareteam/e-Paper
- E-Paper API Analysis - Waveshare Wiki
- Waveshare e-Paper Arduino库使用教程 - CSDN博客
- WAVESHARE 4.2INCH E-PAPER MODULE USER MANUAL Pdf Download
- Waveshare 4.3" E-paper display - GitHub Pages
- waveshare-touch-epaper · PyPI
- 模板:E-Paper-codes-description - Waveshare Wiki
- 4.2inch e-Paper Module Manual - Waveshare Wiki
我们进行了底层的封装,由于硬件平台不一样,内部的实现是不一样的,如果需要了解内部实现可以去对应的目录中查看 在DEV_Config.c(.h)可以看到很多定义,在目录:Touch_e-Paper_Code\c\lib\Config UBYTE DEV_Digital_Read(UWORD Pin); Void DEV_Digital_Write(UWORD Pin, UBYTE Value);
我们进行了底层的封装,由于硬件平台不一样,内部的实现是不一样的,如果需要了解内部实现可以去对应的目录中查看 在DEV_Config.c(.h)可以看到很多定义,在目录:Touch_e-Paper_Code\c\lib\Config UBYTE DEV_Digital_Read(UWORD Pin); void DEV_Digital_Write(UWORD Pin, UBYTE Value); void DEV_SPI_WriteByte(UBYTE Value); void DEV_SPI_Write_nByte(uint8_t *pData, uint32_t Len); UBYTE I2C_Read_Byte(UWORD Reg, char *Data, UBYTE len); UBYTE I2C_Write_Byte(UWORD Reg, char *Data, UBYTE len...
If You Want To Use Another Arduino Board, You May
If you want to use another Arduino board, you may need to change the connection and port the codes by yourself. The RAM of Arduino UNO is too small to realize drawing function of e-Paper. In this case, for most of the e-Paper, we only make the image display function and save the image to flash. We recommend you to use [E-Paper Shield] if you use Arduino UNO. The seven-color e-Paper is not compatib...
Arduino Programs Are Located At ~/Arduino/… Please Select The Corresponding
Arduino programs are located at ~/Arduino/… Please select the corresponding program to open according to the ink screen model epd_1in02y:Example for 1.02inch e-Paper/1.02inch e-Paper Module epd_1in54: Example for 1.54inch e-paper V1(Balck/White): This version is stopped production which can be bought before 2019-11-22; epd_1in54_V2: Example for 1.54inch e-paper V2(Balck/White): This is the current...
Development 分支用于存放用户的提交的修改代码,经验证后,我们将移植到主分支中;非常感谢您对我们的支持 The Development Branch Is Used To Store The
Development 分支用于存放用户的提交的修改代码,经验证后,我们将移植到主分支中;非常感谢您对我们的支持 The Development branch is used to store the modified code submitted by users. After verification, we will migrate it to the main branch. Thank you very much for your support 这个开发分支用于存放用户的提交的修改代码,经验证后,我们将移植到主分支中;非常感谢您对我们的支持 This development branch is used to store the changes committed by users. After verification, we will migrate them to the...
随着屏幕越来越多,程序包也越来越大,用户移植相对比较复杂;因此我们决定在保留原有git路径的基础下,新建一个目录用于保存以后的新屏幕或者老屏幕分离出来的代码。 With More And More Screens And Larger Packages, User
随着屏幕越来越多,程序包也越来越大,用户移植相对比较复杂;因此我们决定在保留原有git路径的基础下,新建一个目录用于保存以后的新屏幕或者老屏幕分离出来的代码。 With more and more screens and larger packages, user migration is relatively complex. So we decided to create a directory where we could store any new screen or any code that's split from the old one, while keeping the old git path. E-paper_Separate_Program 这个文件用于存放每个墨水屏单独的示例代码,用户在使用时仅需在原本的路径下添加 /E-paper_Separate_Progr...