Archive for March, 2014

STM32F4 Beginner Steps (using free tools)

Posted in Uncategorized on March 8, 2014 by Ruchira Hasaranga

original

PrintString calls can be view using ST-LINK Utility SWO viewer.  (@168000000Hz speed)

Simple blink example:

==============================================

InitGPIO();

SetPinMode(GPIO_Pin_13, OUTPUT);

while(1){

SetPin(GPIO_Pin_13, HIGH);

Delay(1000);

SetPin(GPIO_Pin_13, LOW);

Delay(1000);

}

==============================================

You may also like to play mp3 files from usb pendrive.