add some feature

This commit is contained in:
sharandac
2020-07-10 02:39:51 +02:00
parent 9299ec6fd3
commit 2994b21daf
9 changed files with 231 additions and 56 deletions

View File

@@ -37,8 +37,7 @@ void bma_setup( TTGOClass *ttgo ) {
pinMode( BMA423_INT1, INPUT );
attachInterrupt( BMA423_INT1, bma_irq, RISING );
ttgo->bma->enableStepCountInterrupt( bma_config[ BMA_STEPCOUNTER ].enable );
ttgo->bma->enableWakeupInterrupt( bma_config[ BMA_DOUBLECLICK ].enable );
bma_reload_settings();
}
/*