You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • It's not that useful on nRF52 as I2C/SPI/Serial can be on any bit

    Yes it can be on any pin but in this watch it is on specific pins so if it would set some predefined values out of box so one could just use it without setup in code it would make some sense.

    'BTN1' : { 'pin' : 'D30', 'pinstate' : 'IN_PULLDOWN' },
    

    Is it pull up or down? Since when the button is not touched the value is high and goes low when touched shouldn't this be pull up? or is there just 'INPUT' with no pull as it is always connected and not left floating

About

Avatar for fanoush @fanoush started