Add button support
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user