Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in IMU_SKIP option. Add in IP address to OTA waiting message #7

Merged
merged 3 commits into from
May 5, 2020

Conversation

johnheenan
Copy link
Contributor

Add in IMU_SKIP option to prevent wake up by IMU and to lower IMU power usage.

Enabling IMU_SKIP will lower power usage as discussed in #5 (comment).

The code has no effect unless comment enabler is removed in platformio.ini:

;  -DIMU_SKIP         # remove comment to keep IMU (accelerometer, gyrometer and magnetometer) shut down

Lowers IMU power usage.

Prevents wake up of watch by IMU.
Add two line versions of msg, msgError, msgWarning, msgSuccess and msgInfo
@johnheenan
Copy link
Contributor Author

Second commit adds in IP address to "Waiting for OTA" message. This is the IP address that needs to be specified in upload_port of platformio.ini.

Added five overloaded msgXxx functions in wristband-tft.cpp to allow two line messages to be written to tft.

@johnheenan johnheenan changed the title Add in IMU_SKIP option Add in IMU_SKIP option. Add in IP address to OTA waiting message May 4, 2020
@TioRuben TioRuben merged commit f80671d into TioRuben:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants