![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi what microcontroller programs in C++ I wanted to know for a teacher who wanted to program chips... Any series will work as long as C++ works best for it... Thanks | |
| |
| | (permalink) |
| C++ is not suited for microcontrollers as it is too abstract and bloaty. But C is pretty popular.
__________________ --- The days of the digital watch are numbered. --- | |
| |
| | (permalink) |
| For microcontrollers memory is at a premium. Though correctness is valued and C++ helps with correctness, if it doesn't fit, it doesn't work. Even C can produce bloated code, but there's less waste when you try to reduce memory consumption by sharing as much as you can. That is, forget protection, forget object orientation... do it right the manual way, and make it small. If you're dealing with embedded computers, then there's a lot more memory to work with, and hence c++ may be a proper solution. (I've never tried writing a C++ program for AVR with g++, it's possible that it would work perfectly fine, though...) | |
| |
| | (permalink) | |
| Quote:
If you're using PIC Microcontroller, I would suggest HiTec PIC C. It'll make programming much easier once you get used to the program. You can down load student version (or PICCLITE) from HiTec site. You can do some serious programming even with student version. It works best with MPLab, also can be down loaded from Microchip. | ||
| |
| | (permalink) | |
| Quote:
__________________ I thought what I'd do was I'd pretend I was one of those deaf-mutes. | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Please help!! program not working | vinke | Micro Controllers | 3 | 5th October 2007 05:59 AM |
| First Program in assembly, And Programmer Inchworm. | Ayne | Micro Controllers | 10 | 9th March 2007 08:27 PM |
| program for writing and testing circuits | luca-deltodesco | General Electronics Chat | 3 | 13th August 2006 11:17 AM |
| little help with my program please - simple count loop | kud0s | Micro Controllers | 5 | 7th July 2005 10:40 PM |
| PicBasic Keypad program | Sora | Micro Controllers | 0 | 20th April 2004 08:02 PM |