View previous topic :: View next topic |
Author |
Message |
fos
Joined: 21 Nov 2008 Posts: 9 Location: Texas
|
Embedded C Programming Book |
Posted: Thu Dec 04, 2014 12:29 pm |
|
|
Does anyone know if the correct answers for the end of chapter questions are available?
Thanks, Jeff |
|
|
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
|
|
Posted: Thu Dec 04, 2014 2:15 pm |
|
|
Remember: not every question has an answer.
How high is up?
reading what you posted - makes me wonder in that
I don't see what value this has to the forum.
see:
# 4,6,8
in this link
http://www.ccsinfo.com/forum/viewtopic.php?t=26245 |
|
|
fos
Joined: 21 Nov 2008 Posts: 9 Location: Texas
|
|
Posted: Fri Dec 05, 2014 2:50 am |
|
|
Well, I now have the answer but it occurs to me that a forum populated with helpful individuals like yourself, has very little value.
For the answers, see Newnes website for the text.
Thanks for your help. This will be my last visit.
I can only hope you are not a representative of CCS! |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
Re: Embedded C Programming Book |
Posted: Sun Dec 07, 2014 4:58 am |
|
|
fos wrote: | Does anyone know if the correct answers for the end of chapter questions are available?
Thanks, Jeff |
It is 42 _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9240 Location: Greensville,Ontario
|
|
Posted: Sun Dec 07, 2014 6:25 am |
|
|
When I first read the OP, I wondered WHO the author is/was or even the ISBN code, as 'embedded C programming' as a title does get a few 1000 hits from Google. A bit more information,like the author's name would have been very helpful. With it and the title Google does find all the answers.
It reminds me of the 'my program doesn't work' query and the poster fails to say which PIC of compiler version.
I'm more than happy to help but getting too old for guessing games.
Jay |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Dec 07, 2014 4:16 pm |
|
|
The book is by the guy who wrote the CCS compiler. |
|
|
luckyluke
Joined: 18 Apr 2006 Posts: 45
|
|
Posted: Mon Dec 08, 2014 5:30 am |
|
|
i've looked examples
is e3.h available? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Dec 08, 2014 8:56 pm |
|
|
Based on looking at online pages from the book, I would guess that e3.h
contains something similar to this:
Code: |
#include <16F887.h>
#fuses HS, NOWDT, PUT, BROWNOUT, NOLVP
#use delay(clock=10M)
|
|
|
|
luckyluke
Joined: 18 Apr 2006 Posts: 45
|
|
Posted: Tue Dec 09, 2014 3:33 am |
|
|
Quote: | The exercises in the book have been tailored to the CCS E3mini development board. This board uses the PIC18F14K50 processor. Because the board has a bootloader, no device programmer is required to reprogram the board with new software. It also has a USB port that can be used to communicate between a PC and the user program running on the PIC® MCU. |
i think its a header for PIC18F14K50 with usb setup |
|
|
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Mon Dec 15, 2014 2:03 pm |
|
|
I find it interesting that in spite of the fact it was published in 2010, there is not a single review on Amazon.com for the book. Very odd - I have seen books with lots of negative reviews, but not one that has been around this long with no reviews. I had been thinking of getting it but didn't feel like spending the $50 or so without any reviews (and I hate technical books with lots of typos in them - it is very difficult to learn when the examples don't work).
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
|
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
|
Posted: Tue Dec 16, 2014 1:03 pm |
|
|
Hi,
I have the book and have gone through it cover to cover, mostly as a review. I'm now going through it again to work the problems to get the little grey cells limbered up. While I've used PICs and associated BASIC and C compilers for a while, they're just 20-30% of my projects - I may not touch them for months at a time. At the beginning of a new project that's going to need major coding, I like to update myself and get a refresher, which is currently the case. For that, the book is good. It would also be a good book for someone coming from another processor family, like Atmel or TI. Some observations...
1) The pub date is 2014, not 2010. Since there are references to recent versions of V5, I suspect the later date is correct.
2) If you're looking for the problem answers, the back cover tells you how to get them. I'm still working through the problems as a self-test, and reminder of how much I do or don't know. I'll download the answers as a last resort only.
3) If you've been using CCS compilers for a while the book may seem boring and useless.
4) If you just started with PICs, C programming, and the CCS compiler, the book by itself as a learning tool is almost useless. You'll need many additional resources to learn about PICs and C programming. You may be able to do the exercises but you may not know why they work.
5) I don't have the e3 hardware but know enough to work the examples with stuff I have on my bench. If you want to get e3.h you can go to the download page for the book and get the sample compiler and project files. Instructions are in the book.
6) In the first quick go through I found a few typos in the code samples. For the experienced they're obvious, for beginners the compiler will catch them. Maybe as I go through the book again I'll keep track of them - there are probably some that weren't obvious.
I don't regret buying it, but then again, I'm one of those people who actually enjoys reading manuals.
Cheers, _________________ Jürgen
www.jgscraft.com |
|
|
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Tue Dec 16, 2014 2:41 pm |
|
|
Thanks for the info. Amazon shows that as a publish date of 2010, however Barnes and Noble shows it as 2014 (searching on the same ISBN). Yeah, I'm a manual reader too - my wife and I both like to read before we go to sleep - she has her novel or whatever and I'm reading some programming manual or part of a PIC data sheet or an Eagle (PCB) tutorial. She just shakes her head (on the other hand, if you want to cure insomnia, give the old K&R C manual a read!!)
Too many projects, not enough credit card !!
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
|
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
|
Posted: Tue Dec 16, 2014 3:59 pm |
|
|
Quote: | Too many projects, not enough credit card !! |
I've been trying to find a sponsor or patron who would indulge me, like artists and composers sometimes have. No luck so far - the boring stuff has to pay for the fun stuff. Sigh... _________________ Jürgen
www.jgscraft.com |
|
|
|