CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Embedded C Programming Book

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
fos



Joined: 21 Nov 2008
Posts: 9
Location: Texas

View user's profile Send private message

Embedded C Programming Book
PostPosted: Thu Dec 04, 2014 12:29 pm     Reply with quote

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

View user's profile Send private message AIM Address

PostPosted: Thu Dec 04, 2014 2:15 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Dec 05, 2014 2:50 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Dec 05, 2014 3:03 pm     Reply with quote

For future reference, the Quiz Answer Key link on this page
provides the answers to the exercise questions:
http://booksite.elsevier.com/9780128013144/exercisekey.php
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: Embedded C Programming Book
PostPosted: Sun Dec 07, 2014 4:58 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Dec 07, 2014 6:25 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Dec 07, 2014 4:16 pm     Reply with quote

The book is by the guy who wrote the CCS compiler.
luckyluke



Joined: 18 Apr 2006
Posts: 45

View user's profile Send private message

PostPosted: Mon Dec 08, 2014 5:30 am     Reply with quote

i've looked examples
is e3.h available?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 08, 2014 8:56 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Dec 09, 2014 3:33 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Dec 15, 2014 2:03 pm     Reply with quote

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

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Tue Dec 16, 2014 1:03 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Dec 16, 2014 2:41 pm     Reply with quote

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 !! Shocked

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

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Tue Dec 16, 2014 3:59 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group