1
0
mirror of https://github.com/esp8266/Arduino.git synced 2026-01-06 05:22:30 +03:00

Added Esplora readJoystickButton function to be consistent with Esplora readButton

This commit is contained in:
Tom Igoe
2012-12-23 23:05:29 -05:00
parent d7d78ff6a5
commit d8e5997328
3 changed files with 13 additions and 1 deletions

View File

@@ -21,7 +21,7 @@
#ifndef ESPLORA_H_
#define ESPLORA_H_
#include "Arduino.h"
#include <Arduino.h>
/*
* The following constants are used internally by the Esplora
@@ -141,6 +141,8 @@ public:
* LOW if the button is pressed, and HIGH otherwise.
*/
boolean readButton(byte channel);
boolean readJoystickButton();
void writeRGB(byte red, byte green, byte blue);
void writeRed(byte red);