mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-16 01:28:00 +00:00
eb2679b982
* add files from f3 * rollback lfs * Move assets from LFS * remove lfs from build Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
20 lines
No EOL
400 B
C
20 lines
No EOL
400 B
C
#include "flipper.h"
|
|
#include "flipper_v2.h"
|
|
|
|
void application_blink(void* p) {
|
|
// create pin
|
|
GpioPin led = led_gpio[0];
|
|
|
|
// TODO open record
|
|
GpioPin* led_record = &led;
|
|
|
|
// configure pin
|
|
gpio_init(led_record, GpioModeOutputOpenDrain);
|
|
|
|
while(1) {
|
|
gpio_write(led_record, true);
|
|
delay(500);
|
|
gpio_write(led_record, false);
|
|
delay(500);
|
|
}
|
|
} |