EDU Arduino API
|
The KETCube EDU package for Arduino offers the API following the Arduino Language structure.
We provide equivalents for a subset of functions defined by the Arduino Language,
where KETCube EDU API functions are called using the KETCube API object and the "dot" convention.
Additionally, we provide function groups defined exclusively for KETCube.
If you need a function not provided by the KETCube EDU API, see the functions in the standard C library.
Function call example: KETCube.IO.pinMode(IO1, INPUT);
Function call example: KETCube.Analog.read(AN);
Function call example: KETCube.PWM.tone(PWM);
Function call example: KETCube.LED.init(IO1, ON);
Function call example: KETCube.Terminal.print("Hello world!");
Function call example: KETCube.Time.delay(10);
Function call example: KETCube.LPWAN.send(buffer, 5);
Function call example: KETCube.I2C.write((0x76 << 1), &buffer, 2);
Function call example: KETCube.UART.send((uint8_t *) &(buffer[0]), strlen(&(buffer[0])), TIMEOUT);
Function call example: KETCube.Core.regSleepExitHandler(&onExitHandler);