Help getting data from digital pin 2 and 3 in pytnon

Hi
I'm using a hall sensor on pin 3. Port monitor is fine, but python is getting 0.

Please post code according to forum guidelines. If you do not, it will be corrupted by the forum software.

Read the forum guidelines to see how to properly post code and some good information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.