Hi there! :)
I recently bought some MDBT42 breakout boards and love them :)
Now I hooked up a Adafruit CAP1188 touch board to one of them and it works (with the https://www.espruino.com/CAP1188 module), but I would need to change the sensitivity of the board and I have no clue how to do that.
In Arduino this would work:
uint8_t reg = cap.readRegister( 0x1f ) & 0x0f;
cap.writeRegister( 0x1f, reg | 0x6F );
Can anyone point me to the right direction?
Thanks,
SiFu
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi there! :)
I recently bought some MDBT42 breakout boards and love them :)
Now I hooked up a Adafruit CAP1188 touch board to one of them and it works (with the https://www.espruino.com/CAP1188 module), but I would need to change the sensitivity of the board and I have no clue how to do that.
In Arduino this would work:
uint8_t reg = cap.readRegister( 0x1f ) & 0x0f;
cap.writeRegister( 0x1f, reg | 0x6F );
Can anyone point me to the right direction?
Thanks,
SiFu