Skip to content

Demonstrates a way to differentiate plain Portenta boards from Portenta Machine Control

License

Notifications You must be signed in to change notification settings

alrvid/PortentaDifferentiator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PortentaDifferentiator

Demonstrates a way to differentiate between plain Portenta boards and Portenta Machine Control. The Machine Control has an external pull-up resistor at PB_14, while the plain Portenta boards have a floating PB_14. This sketch injects a high level into the input through the built-in pull-up resistor, floats it, and reads it. Then it injects a low level through the built-in pull-down resistor, floats it, and reads it. With an external pull-up, the pin will always be high. With a floating pin, it will follow the previously injected level from high to low.

About

Demonstrates a way to differentiate plain Portenta boards from Portenta Machine Control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages