Author |
Message |
Topic: Floats & Ints |
Gordon23
Replies: 3
Views: 7472
|
Forum: General CCS C Discussion Posted: Sun Mar 03, 2024 12:46 pm Subject: Floats & Ints |
Jerson & Ttelman,
Makes sense now - thank you for taking the time to explain so well.
Thanks. |
Topic: Floats & Ints |
Gordon23
Replies: 3
Views: 7472
|
Forum: General CCS C Discussion Posted: Sun Mar 03, 2024 3:59 am Subject: Floats & Ints |
Hi,
I am struggling to get to grips with Ints and float when doing calcualtions and then printf's.
I have:- (just an example)
unsigned int8 rData[6] = {0};
unsigned int16 tcomb;
... |
Topic: SHT40-AD1B temperature and Humidity sensor issue |
Gordon23
Replies: 17
Views: 45042
|
Forum: General CCS C Discussion Posted: Thu Feb 29, 2024 2:26 am Subject: I2C 7 Bits - Direction |
Hi,
I know this is an old topic, but i came across it, and was a bit confused.
The device in quetion has a 7 bit address followed by a direction bit.
I understand that the PIC uses 8 bits and ... |
Topic: DS18B20 - Whole number only |
Gordon23
Replies: 8
Views: 11682
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2024 2:02 pm Subject: DS18B20 - Whole number only |
Thank you Ttelmah.
This worked perfect, i think i perhaps picked the worng project to get started with, but i will take some time trying to undertand.
Thanks |
Topic: DS18B20 - Whole number only |
Gordon23
Replies: 8
Views: 11682
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2024 10:13 am Subject: DS18B20 - Whole number only |
Is it OK to publish the CCS code?
I have used the digital therm example, and the ds18b20 driver, i have not modified them in any way. (just included my header).
I am using a terminal program, i ... |
Topic: DS18B20 - Whole number only |
Gordon23
Replies: 8
Views: 11682
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2024 3:49 am Subject: DS18B20 - Whole number only |
Hi,
I have used the DS18B20 example project, with a PICF18855, i have not changed the code, or the driver ds18b20. (only included my header file to the top of the main.c file)
I have connected m ... |
|