Comments (5)
Your a Arduino Legend, thanks for all your work within the years :-)
from mcp23008.
This is a known problem with the Arduino Nano ESP32, imho a bug.
By renaming well known function names with macros the compiler also renames functions that are members of a class.
The Preprocessor which executes the macros (text replacements) does not know any bit of code context.
This is both a gift and horror. In this case the latter.
It is NOT an ESP32 problem as other ESP32 based boards do not have this problem.
It is definitely an Arduino NANO software design problem.
from mcp23008.
PS,
I find it strange that you need to replace pinMode8() too as that is not in the io_pin_remap.h file
I would rename to pinMode1(), digitalWrite1(), digitalRead1(), just adding the number of bits used.
That would keep it readable and is informative.
from mcp23008.
Thanks. Just very busy atm. Sorry for mistakes in my report.
from mcp23008.
No need to apologize,
This kind of reports are appreciated as they help to define the scope of the libraries.
For me, I have made an action point to check all my 200+ libraries for this and add a section to the readme.
from mcp23008.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcp23008.