PDA

View Full Version : Books advise please!



Megahertz
- 16th October 2010, 21:05
I know a little about picbasic pro, but I see that all other MCU from other companies cannot be programmed through this software. It is only useful for PICs.

So, I have decided to learn 1 other language but I need some help in deciding which one. I know assembly is a good option, but C is generally more compatible, useful and can be used to program most of the MCUs and other devices from all other companies as well.

Please advise me what is the difference between C, C++ & C hash. My aim is learn the correct language and program almost anything which is programmable in electronics.

Can someone also advise some good books to study, considering I do not have any engineering background. Thanks

Normnet
- 16th October 2010, 21:19
I know a little about picbasic pro, but I see that all other MCU from other companies cannot be programmed through this software. It is only useful for PICs.

So, I have decided to learn 1 other language but I need some help in deciding which one. I know assembly is a good option, but C is generally more compatible, useful and can be used to program most of the MCUs and other devices from all other companies as well.

Please advise me what is the difference between C, C++ & C hash. My aim is learn the correct language and program almost anything which is programmable in electronics.

Can someone also advise some good books to study, considering I do not have any engineering background. Thanks
Designing Embedded Systems with PIC Microcontrollers, Second Edition: Principles and Applications (http://www.amazon.com/Designing-Embedded-Systems-Microcontrollers-Second/dp/1856177505/ref=dp_ob_title_bk)

Covers both assembly and C.

As a second language ANSI C would be the choice.
A little background in assembly will help in understanding how a PIC works but C has been preferred over assembly for the last 10-15 years or more.
I don't know that their is any advantage in C+ or C# over ANSI C for PIC's but could be wrong.

Basic is still preferred for most jobs but sometimes their is example code in C.
Basic can get at all the registers and is faster coding.


Norm

Megahertz
- 17th October 2010, 03:21
Hi, thanks for the heads up. Looking at the suggested choice, I also came across this :

Programming 8-bit PIC Microcontrollers in C: with Interactive Hardware Simulation [Paperback]
Martin P. Bates (Author)

Have you or anyone came across this book? Any comments?
Thanks

rsocor01
- 18th October 2010, 02:59
Hi, thanks for the heads up. Looking at the suggested choice, I also came across this :

Programming 8-bit PIC Microcontrollers in C: with Interactive Hardware Simulation [Paperback]
Martin P. Bates (Author)

Have you or anyone came across this book? Any comments?
Thanks

Megahertz,

I don't have that particular book that you are refering to. I do have the one that Normet is mentionning in his post "Designing Embedded Systems with PIC Microcontrollers, Second Edition: Principles and Applications". This book focuses a lot on asembly and the last few chapters are dedicated to C language. It is a great book, but the asembly part is way over my head :eek:. The C language part I can handle it.

If you want to get a feeling of the book you are going to buy just go to amazon.com and check it out before you buy. Click on the link "Search inside this book" and take a look at the "content" section.

I hope that this helps,

Robert

Megahertz
- 18th October 2010, 13:19
with two people giving the same recommendation, I think I will buy the one which you have mentioned and leave the 8-bit one aside for now. Thanks guys.