Giter Site home page Giter Site logo

e-paper_code's Introduction

Arduino code

  • epdif.c ''' // 如果是ESP8266平台 #ifdef ESP8266 // 在这里放置ESP8266特定的代码 // Pin definition for ESP8266 (e.g. NodeMCU) // Connect display CLK signal to GPIO 14 (Node MCU pin D5) // Connect display DIN signal to GPIO 13 (Node MCU pin D7) // Connect display 3.3V to NodeMCU 3V3 // Connect display GND to NodeMCU GND #define BUSY_PIN 5 // D1 #define RST_PIN 4 // D2 #define DC_PIN 0 // D3 #define CS_PIN 2 // D4

#endif

// 如果是ESP32平台 #ifdef ESP32 // 在这里放置ESP32特定的代码 // Display GPIO ESP32 pin #define BUSY_PIN 25 #define RST_PIN 26 #define DC_PIN 27 #define CS_PIN 15

#endif

// 如果是AVR平台 #ifdef AVR // 在这里放置AVR特定的代码 #define RST_PIN 8 #define DC_PIN 9 #define CS_PIN 10 #define BUSY_PIN 7 #endif '''

  • imagedata.cpp

    ''' #include "imagedata.h" #if(AVR) #include <avr/pgmspace.h> #else #include <pgmspace.h> #endif

    '''

e-paper_code's People

Contributors

perseverance51 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.