Code

New functionPlain text
Added to replace changes in the core files
#define BUTTON_DEBOUNCE_DELAY 1
uint8 isButtonPressed(uint8 pin=BOARD_BUTTON_PIN,
                      uint32 pressedLevel=BOARD_BUTTON_PRESSED_LEVEL) {
    if (digitalRead(pin) == pressedLevel) {
        delay(BUTTON_DEBOUNCE_DELAY);
        while (digitalRead(pin) == pressedLevel)
            ;
        return true;
    }
    return false;
}
file_9041.txtPlain text
BMP085 connection successful

Local Pressure Correction Constant: 3380

Temp/Pres:      70.3F           1027.63 hPa     30.35 inHg

Temp/Pres:      70.3F           1027.65 hPa     30.35 inHg

Temp/Pres:      70.3F           1027.60 hPa     30.35 inHg

Temp/Pres:      70.3F           1027.64 hPa     30.35 inHg

Temp/Pres:      70.3F           1027.63 hPa     30.35 inHg

Temp/Pres:      70.3F           1027.59 hPa     30.34 inHg

Temp/Pres:      70.3F           1027.67 hPa     30.35 inHg

Temp/Pres:      70.3F           1027.68 hPa     30.35 inHg

Temp/Pres:      70.3F           1027.63 hPa     30.35 inHg
GLCD5110_BMP085.zipPlain text
Updated code to replicate missing function Is Button Pressed?
No preview (download only).

Credits

Coffeemath
Ray Burnette

IT architect - retired AT&T... USAF-Secure Comm , Burroughs, Clemson U. School of EE Research, Southern Bell, BellSouth, SofKinetics, Inc. (President), AT&T IT

Contact
Thanks to Bob Cousins and Roger Clark.

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login