Society of Robots - Robot Forum

Software => Software => Topic started by: monsieurpo on August 21, 2010, 01:36:30 PM

Title: i need c # tutorial
Post by: monsieurpo on August 21, 2010, 01:36:30 PM
i can build a robot and plug some wire but im realy bad with the programation so is that possible to post as many tutorial and project here

thank you
Title: Re: i need c # tutorial
Post by: waltr on August 21, 2010, 03:56:49 PM
C# is Microsoft programming for Windows.

What you need to learn for embedded micro-processors for robots is ANSI C.
Did you try google?
http://www.google.com/search?hl=en&client=firefox-a&hs=oLH&rls=org.mozilla:en-US:official&q=ansi+c+tutorial&revid=379548061&sa=X&ei=nUpwTMj6MMP58AbL0LDrDA&ved=0CEwQ1QIoAA&cts=128242745709 (http://www.google.com/search?hl=en&client=firefox-a&hs=oLH&rls=org.mozilla:en-US:official&q=ansi+c+tutorial&revid=379548061&sa=X&ei=nUpwTMj6MMP58AbL0LDrDA&ved=0CEwQ1QIoAA&cts=128242745709)

Also search through the threads in this forum. There are many discussions and sugestions about learning C programming.

There are parts that are dependent on which processor you wish to use. For example the setting up of IO ports, UARTs, Timers, etc is different from one processor to another and there are differences from one compiler to another. Do you have an idea of which processor you wish to use?
Title: Re: i need c # tutorial
Post by: monsieurpo on August 21, 2010, 04:47:45 PM
robot are coded with c or c# or c++  ???
Title: Re: i need c # tutorial
Post by: billhowl on August 21, 2010, 10:55:04 PM
Robot used Micro-controller are mostly coded in C or subset of C++.
C# is too high level for MCU which have less memory(RAM) space.
Title: Re: i need c # tutorial
Post by: monsieurpo on August 22, 2010, 01:37:36 PM
i coded a bit of c++ but can you send me tutorial please?
Title: Re: i need c # tutorial
Post by: tmoney68 on August 22, 2010, 07:40:38 PM
Try here: http://www.cprogramming.com/ (http://www.cprogramming.com/)

It has tutorials on both c and c++
Title: Re: i need c # tutorial
Post by: billhowl on August 22, 2010, 10:37:52 PM
PROGRAMMING ROBOTS (http://www.societyofrobots.com/programming_robot.shtml)
http://www.societyofrobots.com/programming_robot.shtml (http://www.societyofrobots.com/programming_robot.shtml)

Pololu 3pi Robot Resources (http://www.pololu.com/catalog/product/975/resources)
http://www.pololu.com/catalog/product/975/resources (http://www.pololu.com/catalog/product/975/resources)

Robot Programming in "C'' (http://www.drtak.org/teaches/ARC/cisp299_bot/book/book/)
http://www.drtak.org/teaches/ARC/cisp299_bot/book/book/ (http://www.drtak.org/teaches/ARC/cisp299_bot/book/book/)

Book: C Programming for AVR Microcontrollers (http://robotechno.us/book-c-programming-for-avr-microcontrollers.html)
http://robotechno.us/book-c-programming-for-avr-microcontrollers.html (http://robotechno.us/book-c-programming-for-avr-microcontrollers.html)

The C Book  (http://publications.gbdirect.co.uk/c_book/)
http://publications.gbdirect.co.uk/c_book/ (http://publications.gbdirect.co.uk/c_book/)

C Programming (http://www2.its.strath.ac.uk/courses/c/)
http://www2.its.strath.ac.uk/courses/c/ (http://www2.its.strath.ac.uk/courses/c/)

Programming Tutorials - C, C++, OpenGL, STL (http://www.cprogramming.com/tutorial.html?bcsi_scan_31299AF6BF590075=PgtZA7GetSJRDyDlGBgBNU0JXPgIAAAAmHxWLA==&bcsi_scan_filename=tutorial.html)



The basics of C (http://www.cprogramming.com/tutorial/c/lesson1.html)
http://www.cprogramming.com/tutorial/c/lesson1.html (http://www.cprogramming.com/tutorial/c/lesson1.html)