Your ROOT_URL in app.ini is https://git.ondrovo.com/ but you are visiting http://159.69.29.240:49153/electro/f103-wave-sim/src/commit/11764cbd7a5e8bfd11ccf6adaf1ea89712dc7500/project/main.c You should set ROOT_URL correctly, otherwise the web may not work correctly.
stm32f103 neopixel demo simulating water / waving based on ultrasonic stimulus. This is an earlier version of what later became the "spatial-rgb" project
 
 
 
 
 
f103-wave-sim/project/main.c

25 lines
470 B

/* Includes ------------------------------------------------------------------*/
#include "stm32f10x.h"
#include <stdio.h>
int main(void)
{
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE);
GPIO_InitTypeDef gpio_cnf;
gpio_cnf.GPIO_Pin = GPIO_Pin_13;
gpio_cnf.GPIO_Mode = GPIO_Mode_Out_PP;
gpio_cnf.GPIO_Speed = GPIO_Speed_2MHz;
GPIO_Init(GPIOC, &gpio_cnf);
while (1) {
GPIOC->ODR ^= GPIO_Pin_13;
// delay
for (int i = 0; i < 1000000; i++);
}
}