Giter Club home page Giter Club logo

analysir-esp8266-serial-platformio's Introduction

AnalysIR-ESP8266-Serial-PlatformIO

This repo has the source code for the ESP8266 firmware which is provided with the AnalysIR software, minimally modified to work with PlatformIO and the latest ESP8266 Arduino core

To be specific, on line #29, #include <Arduino.h> was added, as PlatformIO requires that.

In addition, on lines #39-40, the code was modified to include ICACHE_RAM_ATTR because without that, the program crashes repeatedly upon first starting up. More info here

Finally, the setup() and loop() functions were moved to the end of the program, to compile properly using PlatformIO. Everything else remains the same.

If you'd like to change the pin definitions, see lines #43-44.

You may still receive an error message Error on Serial Port: Frame in AnalysIR (I do) - this can be ignored.

This repo is mainly because I keep modifying this program, forgetting how I did it, and re-doing all of these steps. But I thought I'd make it public in case it helps somebody else.

analysir-esp8266-serial-platformio's People

Contributors

kylefmohr 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.