Author |
Message |
Topic: TESTERS NEED! SD CARD FAT16 LIBRARY |
diegonet
Replies: 3
Views: 8320
|
Forum: General CCS C Discussion Posted: Sat May 06, 2006 4:43 pm Subject: TESTERS NEED! SD CARD FAT16 LIBRARY |
Hi to everyone.
In my search of a good and FUNCTIONAL SD Card FAT16 library I found
one from the circuit cellar 176, autored by Ivan Sham.
This one has been write for a mps procesor, so I do the ... |
Topic: Conflict between 24C04 and PCF8563 on i2c bus |
diegonet
Replies: 4
Views: 9082
|
Forum: General CCS C Discussion Posted: Thu Oct 06, 2005 8:05 am Subject: Memory is from Microchip... |
Hi.
The memory is a 24LC04B. from microchip.
In his data sheet, is stated:
The control byte
consists of a four bit control code, for the 24XX04 this
is set as 1010 binary for read and write ope ... |
Topic: Conflict between 24C04 and PCF8563 on i2c bus |
diegonet
Replies: 4
Views: 9082
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2005 11:29 pm Subject: Conflict between 24C04 and PCF8563 on i2c bus |
People:
I don't know why, but I can't put this two devices together over the i2c bus, they interfere between.
If you look the address of each one, you get:
PCF8563: write address: 0xA2
... |
Topic: Processing received data over RS232 |
diegonet
Replies: 5
Views: 7708
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2005 11:15 pm Subject: Made some progress |
Hi people, i'm posting the resulting code for the latest post's.
#include "test.h"
#include "lcd.c"
#include "pcf8563.h"
#define CR 0x0d
const char weekday & ... |
Topic: Processing received data over RS232 |
diegonet
Replies: 5
Views: 7708
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 10:55 pm Subject: some more help, please! |
ckielstra, thank you for your fast response.
the "o" in the code is just a error (I wrote this code for the post, not copy&paste).
"Also, for safety, it's better to use '<=' instead of '==' ... |
Topic: Processing received data over RS232 |
diegonet
Replies: 5
Views: 7708
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 9:08 am Subject: Processing received data over RS232 |
Hi to everyone, I need to ask for some help.
I'm building a weather datalogger. This portable unit
must be conect to a PC to downloading data (this works ok),
but the PC has to send some informatio ... |
Topic: LM75A and i2c |
diegonet
Replies: 3
Views: 8567
|
Forum: General CCS C Discussion Posted: Tue Sep 13, 2005 11:21 pm Subject: LM75A and i2c |
Hi people!
I'm trying to put to work an LM75A and a 16F88.
My problem is that I have realized that i don't know anything about the i2c implementation of CCS.
In the datasheet of LM75A is stated t ... |
Topic: Floating Point Rounding Routine |
diegonet
Replies: 3
Views: 8059
|
Forum: General CCS C Discussion Posted: Tue Sep 13, 2005 11:02 pm Subject: Floating Point Rounding Routine |
Hi to everybody!
I'm looking for a routine to rounding to x number of decimal digits a floating point number.
In several C languaje implementations there's at least one form of implementation (e.g. ... |
|