mattfryer / board_identify Goto Github PK
View Code? Open in Web Editor NEWAn Arduino library which allows identification of the board/controller
License: GNU General Public License v3.0
An Arduino library which allows identification of the board/controller
License: GNU General Public License v3.0
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.
Output is:
Board Type: 0
Board Make: Unknown
Board Model: Unknown
Board MCU: Unknown
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"
Make the library available from the libraries list in the Arduino IDE
Please update the program to identify the UNO WIFI Rev 2
For boards with ESP32 detect CPU Revision (currently Rev.0 and Rev.1) and print it with Board MCU
https://espressif.com/sites/default/files/documentation/eco_and_workarounds_for_bugs_in_esp32_en.pdf
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.
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
Board_Identify returns "unknown" for type, make, model and MCU for genuine Nano Every boards.
The WeMos D1 Mini Pro is not identified, please add the ARDUINO_ESP8266_WEMOS_D1MINIPRO definition
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.