Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#include "gpio.h"
#define LED_PIN 0
#define LED_MASK (1ul << LED_PIN)
#define DELAY_COUNT 100000
int main()
{
gpio_fsel(LED_PIN, 0);
gpio_dir_pin(LED_PIN, 1);
while (true)
{
for (volatile int i = 0; i < 10000; ++i)
;
*GPIO_OUT ^= LED_MASK;
}
}ca74b33c6This file is pinned to the selected release. Download the original to open it in your design tool.