Hi Friends,
I am new to the 'embedded C' world. Can anyone please give me entire program or a link for blinking LED program in C language for ARM Cortex M0,ARM Cortex P and ARM Cortex 3.
I am using µvision v16a IDE. Please let me know if i need to provide any other information.
Thanks in advance :)
LEDs are peripheral to the core, you'll have to look at a specific vendor's implementation of the peripheral set and GPIO. Suggest you Google for the specific parts you're using, look at available libraries and examples.
C:\Keil_v5\ARM\Examples\Blinky
I think the example programs in the directory Examples are already set up in simulation mode. Probably will run without changes.
The example directory has many examples to look at besides the Blinky example.
The Keil_v5 directory could be changed on your machine. It is the installation directory that keil is installed at.
If you were choose a particular board. You can also look for examples for that specific board. Keil has examples for specific boards. Also ST Microelectronics and NXP may have examples on their website.