Try this for setting the pull-up on GPIO.1
Code:OPTION_REG.7 = 0 ' Set global GPPU WPU.1 = 1 'pull-up on gpio1 enabled
Try this for setting the pull-up on GPIO.1
Code:OPTION_REG.7 = 0 ' Set global GPPU WPU.1 = 1 'pull-up on gpio1 enabled
Last edited by mark_s; - 10th September 2016 at 18:55.
Bookmarks