Add button support

This commit is contained in:
Michal Moskal
2017-07-05 01:17:26 +01:00
parent ee6664c29c
commit f2d398909b
7 changed files with 313 additions and 3 deletions

View File

@ -4,4 +4,15 @@
#include "pxtbase.h"
#undef DMESG
#define ID_BUTTON_BASE 100
namespace pxt {
void raiseEvent(int id, int event);
void sleep_core_us(uint64_t us);
class Button;
typedef Button *Button_;
}
#endif