mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 08:43:10 +00:00
5b6ab7faf3
* add blank example * add ipc example code, need to change FURI API * add ipc example code, need to change FURI API * change core API, add context * check handler at take * fix important bugs in furi * drawing example * add posix mq * fix unsigned demo counter * create at open * working local demo * russian version of IPC example * english version * add gif
30 lines
511 B
C
30 lines
511 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "main.h"
|
|
#include "flipper_hal.h"
|
|
#include "cmsis_os.h"
|
|
#include "furi.h"
|
|
#include "log.h"
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
// Arduino defines
|
|
|
|
#define pinMode app_gpio_init
|
|
#define digitalWrite app_gpio_write
|
|
#define digitalRead app_gpio_read
|
|
#define EEMEM
|
|
#define delayMicroseconds delay_us
|
|
#define delay osDelay
|
|
#define byte uint8_t
|
|
|
|
#define OUTPUT GpioModeOutput
|
|
#define INPUT GpioModeInput
|
|
#define LOW false
|
|
#define HIGH true
|