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

Search found 16 matches
CCS Forum Index
Author Message
  Topic: Convert 2 Bytes EEPROM to Float Number
Iloveoakdave

Replies: 9
Views: 7479

PostForum: General CCS C Discussion   Posted: Fri Sep 29, 2006 7:18 am   Subject: Convert 2 Bytes EEPROM to Float Number
I'll look into it and check it out. Thanks for the tip.

dave
  Topic: Convert 2 Bytes EEPROM to Float Number
Iloveoakdave

Replies: 9
Views: 7479

PostForum: General CCS C Discussion   Posted: Wed Sep 27, 2006 7:18 pm   Subject: Convert 2 Bytes EEPROM to Float Number
Thanks for the feedback all. I tried both routines and they provide the same results. Funny how this works with the little CPU's. Take care.

dave
  Topic: Convert 2 Bytes EEPROM to Float Number
Iloveoakdave

Replies: 9
Views: 7479

PostForum: General CCS C Discussion   Posted: Tue Sep 26, 2006 8:45 pm   Subject: Convert 2 Bytes EEPROM to Float Number
I tried your routine and one would think that is should work but the last line gives me 11.1199998855591 for the answer instead of 11.12. Now why would
1112 / 100 give 11.1199998855591? I pasted your ...
  Topic: Convert 2 Bytes EEPROM to Float Number
Iloveoakdave

Replies: 9
Views: 7479

PostForum: General CCS C Discussion   Posted: Mon Sep 25, 2006 9:42 pm   Subject: Convert 2 Bytes EEPROM to Float Number
Thanks for the feedback. Obvious as heck when you look at it but just couldn't get it. Works great. I was wondering if you know what can be done to make a float number that comes back after calculatio ...
  Topic: Convert 2 Bytes EEPROM to Float Number
Iloveoakdave

Replies: 9
Views: 7479

PostForum: General CCS C Discussion   Posted: Mon Sep 25, 2006 8:33 pm   Subject: Convert 2 Bytes EEPROM to Float Number
Hi all,
I've been trying to do something that may be simple but seem to not be able to get a handle on the solution to my problem. I'm setting two values in EEPROM for one is 10 and the other 50. I'm ...
  Topic: ICD-U40 and PIC18F452 Development Kit
Iloveoakdave

Replies: 39
Views: 149268

PostForum: General CCS C Discussion   Posted: Thu Aug 31, 2006 9:56 pm   Subject: ICD-U40 and PIC18F452 Development Kit
Finally got it working via the ICD2 and Picdem 2 plus. Thanks for the help. Now I can start having some fun. Do you know if anybody has hooked the CCS ICD-U40 to the Picdem 2 plus board and had them w ...
  Topic: ICD-U40 and PIC18F452 Development Kit
Iloveoakdave

Replies: 39
Views: 149268

PostForum: General CCS C Discussion   Posted: Fri Aug 25, 2006 7:58 pm   Subject: ICD-U40 and PIC18F452 Development Kit
Thanks for the help on that. I made the changes and got rid of the unused stuff. I fired it up and this is what I get.
When I press key 1 = the yellow led on the board lites up.
2 to A = nothing to ...
  Topic: ICD-U40 and PIC18F452 Development Kit
Iloveoakdave

Replies: 39
Views: 149268

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2006 9:58 pm   Subject: ICD-U40 and PIC18F452 Development Kit
I should add that from the keypad to the development board;
Pin 1 goes to B4
Pin 2 to B5
Pin 3 to B6
Pin 4 to B7

Pin 5 to B0
Pin 6 to B1
Pin 7 to B2
Pin 8 to B3

thanks again for the help ...
  Topic: ICD-U40 and PIC18F452 Development Kit
Iloveoakdave

Replies: 39
Views: 149268

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2006 9:52 pm   Subject: ICD-U40 and PIC18F452 Development Kit
I've tried to check and I think the un-commented matches what I have. It is a Grayhill 96BB2-006-R. Nothing else is connected to Port B except what is on the development board. It uses some parts of p ...
  Topic: ICD-U40 and PIC18F452 Development Kit
Iloveoakdave

Replies: 39
Views: 149268

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2006 9:33 pm   Subject: ICD-U40 and PIC18F452 Development Kit
Below is what I have thus far. I'm using pullups on port B. Hope you can understand this. Looks like a mess here.

dave


//Main Line//
#include
#include

/*#if defined(__PCB__)
#include ...
  Topic: ICD-U40 and PIC18F452 Development Kit
Iloveoakdave

Replies: 39
Views: 149268

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2006 8:57 pm   Subject: ICD-U40 and PIC18F452 Development Kit
I'm trying to get back into the swing of things for development. Been out a few years. I'm using the Development kit and I have a 4x4 matrix keypad hooked to the B0 to B8 ports. I've followed about ev ...
  Topic: Clock Speed and Serial Output
Iloveoakdave

Replies: 7
Views: 14561

PostForum: General CCS C Discussion   Posted: Wed May 26, 2004 9:46 am   Subject: Clock Speed and Serial Output
No this is a good question. Since I'm using the CCS demo board I assumed that you could change the delay and it would take care of the rest without physically changing the crystal. I wonder if this th ...
  Topic: Clock Speed and Serial Output
Iloveoakdave

Replies: 7
Views: 14561

PostForum: General CCS C Discussion   Posted: Wed May 26, 2004 8:42 am   Subject: Clock Speed and Serial Output
thanks for the input. I believe the CCS board uses a Maxim device. I will check it out.
  Topic: Clock Speed and Serial Output
Iloveoakdave

Replies: 7
Views: 14561

PostForum: General CCS C Discussion   Posted: Wed May 26, 2004 7:45 am   Subject: Clock Speed and Serial Output
Hi all. I just got a CrystalFontz serial LCD (is this thing big or what!) and have it working at 19200 with the #use Delay(20000000). When I change this to 4000000 I get garbage output. I've seen some ...
  Topic: Serial Output to LCD
Iloveoakdave

Replies: 2
Views: 8645

PostForum: General CCS C Discussion   Posted: Mon May 17, 2004 9:04 pm   Subject: Serial Output to LCD
I found a Breakout box and put it in-line. I noticed that if I turn off the DTR line, all works fine. Interesting why this is as only the TX, RX, and ground lines are connected. I'm always impressed a ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group