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 5 matches
CCS Forum Index
Author Message
  Topic: verifying an array?
aymanoo

Replies: 4
Views: 6980

PostForum: General CCS C Discussion   Posted: Tue Oct 04, 2011 10:13 am   Subject: thx it worked
Hi,

Give it a try, and I think you'll find it doesn't work. It may not even compile....

You'll need something like this:


if (password_array[0] == '1' && password_array&# ...
  Topic: verifying an array?
aymanoo

Replies: 4
Views: 6980

PostForum: General CCS C Discussion   Posted: Mon Oct 03, 2011 1:02 pm   Subject: verifying an array?
Is the code correct in line 2?

int8 password_array[8];

if (password_array=="12311111")
{
output_high(pin_c3);
delay_ms(30000);
}
el ...
  Topic: Enter the correct code to turn led on... problem
aymanoo

Replies: 3
Views: 6115

PostForum: General CCS C Discussion   Posted: Mon Sep 26, 2011 1:30 pm   Subject: Enter the correct code to turn led on... problem
The objective of my project is to turn led c0 when I enter the correct code so first I'm trying code of one character ("5") on keypad but its not working. Another question what if I have to ...
  Topic: timer 0 help
aymanoo

Replies: 2
Views: 3928

PostForum: General CCS C Discussion   Posted: Thu Sep 08, 2011 7:08 am   Subject: problem solved
I solved my problem ..it was that when we say input(bin_b0)==1 this means the switch is open ....i thought that 1 means switch close +5v
  Topic: timer 0 help
aymanoo

Replies: 2
Views: 3928

PostForum: General CCS C Discussion   Posted: Wed Sep 07, 2011 5:44 am   Subject: timer 0 help
The program below is about to press a push button as quickly just after the led turn on ......there's something I don't get in the code below.
Because as the code says the timer start after we push ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group