Menu

set weak pull ups on 10f200

Help
2010-12-17
2013-05-30
  • Nobody/Anonymous

    how? what is the command?

     
  • kent_twt4

    kent_twt4 - 2010-12-17

    From the data sheet the gpio weak pullups are in the OPTION register and bit 6 needs to be cleared to enable them.  GCBasic can handle register bits individually, and a quick look at the 10f200.dat file (from the chipdata folder), we get NOT_GPPU as bit 6 of the OPTION register.

    Set NOT_GPPU off    'enable weak pullups
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.