|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
CW_Platform implementation using Arduino's blocking delay(). More...
#include <ArduinoPlatform.h>
Public Member Functions | |
| ArduinoPlatform ()=default | |
| ~ArduinoPlatform () override=default | |
| ArduinoPlatform (const ArduinoPlatform &)=delete | |
| ArduinoPlatform & | operator= (const ArduinoPlatform &)=delete |
| void | sleep_ms (uint32_t ms) override |
Block for ms milliseconds via Arduino's delay(). | |
| Public Member Functions inherited from CW_Platform | |
| virtual | ~CW_Platform () |
CW_Platform implementation using Arduino's blocking delay().
Single-method adapter — exists only so the SDK can stay platform-independent. Construct one alongside the other adapters and pass it as the 4th argument of CryptnoxWallet's constructor.
Definition at line 49 of file ArduinoPlatform.h.
|
default |
Referenced by ArduinoPlatform(), and operator=().
|
overridedefault |
|
delete |
References ArduinoPlatform().
|
delete |
References ArduinoPlatform().
|
overridevirtual |
Block for ms milliseconds via Arduino's delay().
Forward to Arduino's delay().
| [in] | ms | Duration to sleep, in milliseconds. |
Implements CW_Platform.
Definition at line 16 of file ArduinoPlatform.cpp.