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 43 matches
CCS Forum Index
Author Message
  Topic: SMS controller
kamillas

Replies: 12
Views: 35093

PostForum: General CCS C Discussion   Posted: Tue Mar 13, 2012 10:22 am   Subject: gsm
In this driver, I found the problem:
1 - Normally this program must receive a sms, on, or off to on or off an LED.
2 - What is the exact role of input input (IN_ONOFF), this button is used for wha ...
  Topic: sms controller
kamillas

Replies: 1
Views: 3874

PostForum: General CCS C Discussion   Posted: Mon Mar 12, 2012 6:41 am   Subject: sms controller
Hello,

I am working out a program that will send me a sms in my mobile phone, to me indicates an alarm system was triggered in my house, I downloaded courses on programming modules gsm :
1 - I f ...
  Topic: Display sentence mobile in lcd
kamillas

Replies: 1
Views: 4032

PostForum: General CCS C Discussion   Posted: Wed Mar 07, 2012 5:24 pm   Subject: Display sentence mobile in lcd
Hi

Is that it is possible to know which instruction is used to display a sentence on lcd16x2, and that sentence scrolls right to left, ie I want a sentence mobile print from right to left, how?.
  Topic: Instruction
kamillas

Replies: 9
Views: 10803

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 2:36 pm   Subject: No

means that :
#define datas RA_0


if by this you believe that this will then control the OUTPUT state
of PIN_A0 - you are in for a surprise and NOT a pleasant one at that.

you might have b ...
  Topic: Instruction
kamillas

Replies: 9
Views: 10803

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 11:08 am   Subject: OK
"datas" will be an int1

that is determined by the LOW order bit of the array element you are indexing.

this is very very basic C that we are talking about here, and not the least bit ...
  Topic: Instruction
kamillas

Replies: 9
Views: 10803

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 9:11 am   Subject: &
this formula and what it gives results ?


datas=Matris2[0][1]&K;


knowing that :


Matris2[0][1]= 0x7F and K= 0X01
  Topic: decrement counter in real time
kamillas

Replies: 11
Views: 12922

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 5:54 am   Subject: decrement counter in real time
You could try something like this...

PARTIAL CODE FRAGMENT...
version 2

i=10;
do {
your print statement goes here......;
delay_ms(1000);
i=i-1;
}while(i!=0) ...
  Topic: Instruction
kamillas

Replies: 9
Views: 10803

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2012 5:45 am   Subject: Instruction
I want to understand the meaning of these instructions (I want a simple and clear explanation) :

1 :
Datas = matris &(0x01)
means : matris & 0x01 , this formula gives us any resu ...
  Topic: decrement counter in real time
kamillas

Replies: 11
Views: 12922

PostForum: General CCS C Discussion   Posted: Mon Mar 05, 2012 3:03 pm   Subject: 1 S
PARTIAL CODE FRAGMENT...

i=500;
do {
your print statement goes here......;
delay_ms(10);
i=i-10;
while(i!=0);


For example, if I have a delay_ms(10000), and I want to displa ...
  Topic: decrement counter in real time
kamillas

Replies: 11
Views: 12922

PostForum: General CCS C Discussion   Posted: Mon Mar 05, 2012 5:41 am   Subject: for 10ms

You can't do this. No one can see numbers that exist for only 1 ms.
Also, the typical 16x2 lcd has a very slow optical update rate.
You probably can only update the lcd at maybe 4 times per secon ...
  Topic: Interruption
kamillas

Replies: 3
Views: 7154

PostForum: General CCS C Discussion   Posted: Sun Mar 04, 2012 4:10 pm   Subject: Interruption
I want the formula that calculates the timer 0 interrupt frequency 4MHZ, and I want eg the timer0 loaded with a value of 217, which we may well explain the formula for timer0.
  Topic: decrement counter in real time
kamillas

Replies: 11
Views: 12922

PostForum: General CCS C Discussion   Posted: Sun Mar 04, 2012 1:28 pm   Subject: decrement counter in real time
In my program, I want the LCD displays the value of my delay_ms, as a counter decrement to zero,
example:
time of 500 ms, the display shows me
temp = 500 = 499= 498= 497=496=495=494=.........=0ms ...
  Topic: LCD_flex 2X16 (JHD162 A)
kamillas

Replies: 17
Views: 24374

PostForum: General CCS C Discussion   Posted: Sat Mar 03, 2012 3:16 pm   Subject: Problème LCD2x16 resolved
I really thank the gentleman on the forum(PCM PROGRAMMER), because it is the only one who gave me the only solution, even I thank all members of CCS forum ,was interested with this problem.
My probl ...
  Topic: LCD_flex 2X16 (JHD162 A)
kamillas

Replies: 17
Views: 24374

PostForum: General CCS C Discussion   Posted: Fri Mar 02, 2012 3:42 pm   Subject: FOR SIR : PCM PROGRAMMER

These are big delays, much more than should be needed, but as a test
it's worth doing, to see if it fixes the problem.


FOR SIR PCM PROGRAMMER :

See this picture to see my answer :

http:/ ...
  Topic: LCD_flex 2X16 (JHD162 A)
kamillas

Replies: 17
Views: 24374

PostForum: General CCS C Discussion   Posted: Thu Mar 01, 2012 6:47 pm   Subject: Picture
Post a schematic of your connections to the LCD. Here's an example:
http://www.extremeelectronics.co.in/pictutorials/images/pic_lcd_interface_schematic.gif

PICTURE :


#define LCD_DB4 PIN_B ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group