Coder Social home page Coder Social logo

mattfryer / board_identify Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 3.0 58 KB

An Arduino library which allows identification of the board/controller

License: GNU General Public License v3.0

C++ 100.00%
arduino arduino-boards arduino-ide arduino-library

board_identify's People

Contributors

mattfryer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

board_identify's Issues

Addition of Seeeduino boards

The addition of Seeeduino boards is currently being investigated. However, they use the same board identifiers as Arduino/Genuino boards and so it is not clear how to uniquely identify them.

There's a typo for ARDUINO_ESPino32

ThaiEasyElec"" has the quotes at the end, instead of wrapped around the word it self. So shouldn't it be "ThaiEasyElec"?

#elif defined(ARDUINO_ESPino32)
			const int type = 88;
			const char* make = ThaiEasyElec"";
			const char* model = "ThaiEasyElec's ESPino32";
			const char* mcu = "ESP32";
			#if defined(BOARD_IDENTIFY_WARNING) 
				#warning "Controller: ThaiEasyElec's ESPino32"

Param to make all but "type" optional

A defined param to make all but type optional. This will likely offer no benefit as the compiler should not allocate RAM or progmem to constants.

enhance the Board_Identify

Tio reduce the noise of a processor it is good practice to set all unused ports to INPUT_PULLUP.
If your identifier could return the maximum numbers of ports available, you could easily set them all to INOUT_PULLUP before you
set your ports needed by the project.

In my case there was not only digital components but also analog stuff. I was astonished how much noise you get out of your system when you ste the unused ports.

Reginald, Frankfurt, Germany

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.