Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Sets led as part of the gameplay api module.
static bool set_led(bool on,uint32_t port)Sets led as part of the gameplay api module.
| Parameter | Type | Meaning |
|---|---|---|
on | bool | Not documented; consult the linked header. |
port | uint32_t | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "gameplay_api.hpp"
// Assume these named values have been initialized with valid data:
// bool on
// uint32_t port
auto result = epok::PocketStationLibrary::set_led(on, port);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/gameplay_api.hpp:557
connectedPerforms `connected` as part of the gameplay api module.Methodexit_to_menuPerforms `exit to menu` as part of the gameplay api module.Methodmessage_bytePerforms `message byte` as part of the gameplay api module.Methodreceive_messagePerforms `receive message` as part of the gameplay api module.Methodrunning_programPerforms `running program` as part of the gameplay api module.Methodsend_bytePerforms `send byte` as part of the gameplay api module.Methodsend_bytesPerforms `send bytes` as part of the gameplay api module.Methodset_valueSets value as part of the gameplay api module.Methodstart_programStarts program as part of the gameplay api module.MethodvaluePerforms `value` as part of the gameplay api module.Method