public interface Macro extends MetaWearBoard.Module
Modifier and Type | Method and Description |
---|---|
Task<Byte> |
endRecordAsync()
Ends macro recording
|
void |
eraseAll()
Remove all macros on the flash memory.
|
void |
execute(byte id)
Execute the commands corresponding to the macro ID
|
void |
startRecord()
Variant of
startRecord(boolean) with execOnBoot set to true |
void |
startRecord(boolean execOnBoot)
Begin macro recording.
|
void startRecord()
startRecord(boolean)
with execOnBoot
set to truevoid startRecord(boolean execOnBoot)
execOnBoot
- True if the commands should be executed when the board powers onTask<Byte> endRecordAsync()
void execute(byte id)
id
- Numerical ID of the macro to executevoid eraseAll()
Debug.resetAfterGc()
method.