Author Topic: c code example  (Read 1006 times)

0 Members and 1 Guest are viewing this topic.

Offline alizare368Topic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: de
c code example
« on: April 18, 2018, 11:16:03 am »
Hi
How can I write code in the keil as a registery for pin?
c code example for led on and off???? ;)
 

Offline mbless

  • Regular Contributor
  • *
  • Posts: 227
  • Country: 00
Re: c code example
« Reply #1 on: April 18, 2018, 05:26:05 pm »
Stop with the duplicate posts  :--  This is your third post asking for code!

Nobody here is going to do your homework for you. You have to at least say what you have tried.
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: c code example
« Reply #2 on: April 18, 2018, 05:39:33 pm »
Or you might at least tell us what microcontroller you are programming.

Well, based on previous posts, it is STM32F0. You seriously can't find a blinky example for one of the most common MCUs?
Alex
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11891
  • Country: us
Re: c code example
« Reply #3 on: April 18, 2018, 05:43:56 pm »
The way an engineer would do this is:
1) Get hold of a dev kit
2) Read the documentation
3) Experiment
4) Experiment
5) Experiment
6) Repeat from step 2 as necessary
7) ...


 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf