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 93 matches
CCS Forum Index
Author Message
  Topic: WDT on a PIC12F635
Tagge

Replies: 2
Views: 5121

PostForum: General CCS C Discussion   Posted: Tue Oct 11, 2011 7:58 am   Subject: WDT on a PIC12F635
Thanks, its just the problem.. you nailed it exactly. It seems that the timer 0 is depending on the WDT scaler.
This seems to get it working better.

void init(void){
setup_wdt( ...
  Topic: WDT on a PIC12F635
Tagge

Replies: 2
Views: 5121

PostForum: General CCS C Discussion   Posted: Tue Oct 11, 2011 5:57 am   Subject: WDT on a PIC12F635
Hi, I'm having trouble to get the WDT to work on a 12F635. What am I doing wrong?

#FUSES WDT //WDT on
#FUSES INTRC_IO //Internal RC Osc, no CLKOUT
#FUSES NO ...
  Topic: How to create an attachment file to a GPRS Email?
Tagge

Replies: 6
Views: 6011

PostForum: General CCS C Discussion   Posted: Wed Jul 15, 2009 3:39 am   Subject: How to create an attachment file to a GPRS Email?
Hi, thanks,
Yes, I just want to send ascii chars as an textfile and as an attachement.
My problem is how to define a string or a buffer as a .txt file?
or .bin or any file.
/Tagge
  Topic: How to create an attachment file to a GPRS Email?
Tagge

Replies: 6
Views: 6011

PostForum: General CCS C Discussion   Posted: Tue Jul 14, 2009 12:50 pm   Subject: How to create an attachment file to a GPRS Email?
Hi, no, the problem is not to create an e-mail, that is done "automatically" in the Telit module by AT commands. The problem is to make an ascii buffer that is recognized as an file? and the ...
  Topic: How to create an attachment file to a GPRS Email?
Tagge

Replies: 6
Views: 6011

PostForum: General CCS C Discussion   Posted: Sat Jul 11, 2009 7:19 pm   Subject: How to create an attachment file to a GPRS Email?
Hi, I would like to create an attachment to an GPRS Email, because the module, Telit, demands it if the data is larger than 1kb.
How could it be done? or can it be done? I suppose any kind of "f ...
  Topic: Email with GPRS, or how to create a .txt file?
Tagge

Replies: 2
Views: 3725

PostForum: General CCS C Discussion   Posted: Mon Jun 22, 2009 7:22 am   Subject: Ascii buffer to .txt?
Just figured it out, the Telit module cant take larger e-mail bodys than about 1kB. But an attached file can be much larger,
that raises the question, how can I make a ascii buffer to an .txt file?
...
  Topic: Email with GPRS, or how to create a .txt file?
Tagge

Replies: 2
Views: 3725

PostForum: General CCS C Discussion   Posted: Mon Jun 22, 2009 3:19 am   Subject: Email with GPRS, or how to create a .txt file?
Hi, does anyone know if there is some max size of an email when using GPRS? I'm using an Telit module and can only send about 1000 bytes at a time?? or do I have something wrong in my code.
I have tr ...
  Topic: smtp autenthication
Tagge

Replies: 0
Views: 2859

PostForum: General CCS C Discussion   Posted: Mon May 25, 2009 10:12 am   Subject: smtp autenthication
Hi, do anyone know how to set the smtp server autenthication, user password, in CCS TCP/IP stack?
Often its required as the same as for the POP3 server.
But where can I set the user and password?
T ...
  Topic: RTC-4543SA
Tagge

Replies: 16
Views: 16626

PostForum: General CCS C Discussion   Posted: Sat May 16, 2009 1:26 am   Subject: RTC-4543SA
Thanks Ttelmah, you are right.
One more question, in the CCS manual the function shift_right() is described as:
Function:
Shifts a bit into an array or structure. The address may be an array ident ...
  Topic: RTC-4543SA
Tagge

Replies: 16
Views: 16626

PostForum: General CCS C Discussion   Posted: Fri May 15, 2009 9:04 am   Subject: RTC-4543SA
Im confused about the BCD function, if I write in dec, for ex
Written:37:16:5:15:5:9
And then read it at the rtc_set_datetime() function as hex it says:
In set_date_time:25:10:05:0f:05:09
And that ...
  Topic: RTC-4543SA
Tagge

Replies: 16
Views: 16626

PostForum: General CCS C Discussion   Posted: Thu May 14, 2009 1:24 pm   Subject: RTC-4543SA
rtc_set_datetime(my_min, my_hour, my_day, my_mth, my_year);
the dow value is only set to 0 in the function rtc_set_datetime()
write_rtc(0,4); //dow
Its asked for in the user interface, but not use ...
  Topic: RTC-4543SA
Tagge

Replies: 16
Views: 16626

PostForum: General CCS C Discussion   Posted: Thu May 14, 2009 1:03 pm   Subject: RTC-4543SA
Ok, entering as:
rtc_set_datetime(my_min, my_hour, my_day, my_mth, my_year);
And the values are:
40:20:4:14:5:9

void rtc_set_datetime(BYTE min, BYTE hr, BYTE day, BYTE mth, BYTE ye ...
  Topic: RTC-4543SA
Tagge

Replies: 16
Views: 16626

PostForum: General CCS C Discussion   Posted: Thu May 14, 2009 12:28 pm   Subject: RTC-4543SA
Hi, thanks,
Tested your suggestion, but no change.
Im trying to write for example:
Written:10:20:4:14:5:9
Right Y,N?
Time 20:10:0 //this is ok
Date 2000:0:14 //only day ok
I found a sort ...
  Topic: RTC-4543SA
Tagge

Replies: 16
Views: 16626

PostForum: General CCS C Discussion   Posted: Thu May 14, 2009 3:17 am   Subject: RTC-4543SA
Hi again, I got it almost working Smile
Its writing allright until the "month", there something goes wrong..
The 8-bit of the month must be a '0' acording to data sheet, it should be 0 anywa ...
  Topic: RTC-4543SA
Tagge

Replies: 16
Views: 16626

PostForum: General CCS C Discussion   Posted: Wed May 13, 2009 3:18 pm   Subject: RTC-4543SA
I agree, but it wasn't up to me to use this chip Rolling Eyes
I hate it! must be from the time of the roman empire..
And your right, about the 52 bits, but I assume that its enough to just let the clock ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group