Giter VIP home page Giter VIP logo

d1mini_oop's Introduction

D1mini_oop

This repository contains a lot of oop examples (classes) for the Wemos D1 mini:

  • Digital in
  • Digital out
  • easy to use text screens for 0.66 inch OLED Shield (64X48, I2C)
  • Sensor AM3222 (temperature and humidity, I2C)
  • Sensor BH1750 (light sensor, I2C)
  • Sensor BMP180 (temperature and barometric pressure/altitude, I2C)
  • PCF8583 (counter or clock and calendar, I2C)
  • Web server, web client
  • Weather server
  • MQTT client
  • PowerOff shield

d1mini_oop's People

Contributors

khartinger avatar

Watchers

 avatar

d1mini_oop's Issues

The Wire.endTransmission() should not be used together with Wire.requestFrom().

In some files, for example:

  • D1mini_oop/D1_oop34_BME280/D1_class_BME280.cpp
  • D1mini_oop/D1_oop09_weather1_oled/D1_class_AM2322.h
  • D1mini_oop/D1_oop32_INA226/D1_class_INA226.cpp
  • D1mini_oop/D1_oop12_anemometer1_oled/D1_class_PCF8583.h
  • D1mini_oop/D1_oop04_AM2322/D1_class_AM2322.h
  • D1mini_oop/D1_oop05_AM2322_oled/D1_class_AM2322.h
  • D1mini_oop/D1_oop06_BH1750/D1_class_BH1750.h
  • D1mini_oop/D1_oop18_weatherserver_oled/D1_class_PCF8583.h
  • D1mini_oop/D1_oop31_2xSHT30_oled/D1_class_SHT30.cpp
  • D1mini_oop/D1_oop23_DS1307/D1_oop23_DS1307_setTimeHttp/D1_class_DS1307.cpp

there are a lot Wire.endTransmission() after a Wire.requestFrom(). All those Wire.endTransmission() can be removed. Sometimes there is Wire.beginTransmission() before the Wire.requestFrom(), those can also be removed.
Explanation: Common-mistakes number 2 and 3.

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.