Embedded thread
What are you guys working on?
I finally got Blinky working on my new STM32 (first time venturing into ARM territory). Turns out I have to enable clocks for even peripherals.
>>60895025
hay bby, stm32s are my main
yeah you gotta clock periperals, gotta save them nanoamps
are you using the f103?
>>60895170
>are you using the f103?
Yes, since there were so many choices out in the market, i just went with the cheapest
I am currently trying to figure out ARM assembly, pretty similar to AVR assembly i used to play around with
>>60895276
thats dedication, i only go down to asm on the tiny 8pin pic micros, usually sit on c but been testing c++ on the stm32s and it works a treat, 1 second blinkClock time(Clock::MILLISEC, 72);
Digital led(GPIOC, GPIO_Pin_13, GPIO_Speed_50MHz, GPIO_Mode_Out_PP);
void SysTick_Handler()
{
time.IncTime();
}
int main()
{
while (1)
{
led.Set(!led.Get());
time.delayms(1000);
}
}