MCP3208 | Arduino library for MCP3208 8 channel
kandi X-RAY | MCP3208 Summary
kandi X-RAY | MCP3208 Summary
Arduino library for MCP3208 8 channel, 12 bit, ADC chip.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MCP3208
MCP3208 Key Features
MCP3208 Examples and Code Snippets
Community Discussions
Trending Discussions on MCP3208
QUESTION
I'm increasing an arduino project by adding an external Analog to Digital Converter.
For that I'm using the Mcp3208 library. My code is organise with one class by sensor and I need to access to a Mcp3208 instance (adc) from different classes.
So I created a common lib include in the different classes but this is not working. I'm searching from few hours on the net but I have not found an article to help me.
Can you explain me the right way to do that? I'm coding with Atom and the platformIO plugin.
I've a FSM class who instantiate sensors (.h) :
...ANSWER
Answered 2018-Nov-17 at 16:08In your .h file, add the declaration:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MCP3208
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page