Skip to content

Conversation

@jsonpoindexter
Copy link

@jsonpoindexter jsonpoindexter commented Oct 11, 2017

Fixed breathe() crashing bug.

Updated LSM303 Library to add support for 32bit processors.

Added hardware checking for LSM303

MuffinsaursRex and others added 3 commits May 16, 2015 19:04
…her 32bit processors.

Fixed scope conflict causing a crashing bug when calling the breath() function.
Included new libraries that support 32bit processors and the
LSM303.

Verified working on ESP8266
// Try to initialise and warn if we couldn't detect the chip
digitalWrite(ONBOARD_LED_PIN, HIGH);
if (!lsm.begin())
{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put the curly on the same line -- matches the format of the rest of the project

if (!lsm.begin())
{
Serial.println("Oops ... unable to initialize the LSM303. Check your wiring!");
while (1);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you want to stop here forever? maybe just having the shoe light up red isn't so bad?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. Makes more sense to go to red if the accel sensor is not working. However, at the moment only the RGB will show on the strip if this is the case. Red can be added in another branch.

@climent
Copy link

climent commented Oct 13, 2017

I updated the code to use FastLED: https://github.com/climent/hermes-ng

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.

3 participants