STM32F4 Beginner Steps (using free tools)

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: