Author Topic: Programming problem!  (Read 1963 times)

0 Members and 1 Guest are viewing this topic.

Offline hassanjavedTopic starter

  • Beginner
  • *
  • Posts: 6
  • Helpful? 0
Programming problem!
« on: May 04, 2007, 10:12:41 AM »
Hi! I am a beginner in robotics and I came to know that one should be able to programme in .C. for success in robotics.

I want to know which part of C deals with programming microcontrollers and what should I tell my instructor to teach me if I want to access hardware through
C?  Also what basics should I know to programme microcontrollers?

Offline hazzer123

  • Supreme Robot
  • *****
  • Posts: 460
  • Helpful? 3
Re: Programming problem!
« Reply #1 on: May 04, 2007, 10:45:17 AM »
Code for microcontrollers is all written in some sort of low level language e.g. for PICs it is Assembly code.

There are, however, compilers which basically translate a higher level language e.g. c or c++, to a lower level language.
The PIC micro controllers have a range of these translators for use with visual basic, C and others.

To start creating robots with microcontrollers, you will need to understand the basic loops e.g. if, while, for. Also the different types of variables e.g. char, float, int.
With that, you could probably do simple blinking LED programs, the "Hello World" of microcontrollers, and from that bigger and better projects.
Imperial College Robotics Society
www.icrobotics.co.uk

 

Related Topics

  Subject / Started by Replies Last post
10 Replies
3997 Views
Last post May 07, 2007, 02:48:17 PM
by JonHylands
8 Replies
4318 Views
Last post May 15, 2007, 07:20:41 AM
by Admin
4 Replies
3115 Views
Last post August 03, 2007, 06:49:26 PM
by garriwilson
2 Replies
1375 Views
Last post November 01, 2007, 05:57:59 PM
by paulstreats


Get Your Ad Here

data_list