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 6 matches
CCS Forum Index
Author Message
  Topic: Is possible do this logic?
BotBoy

Replies: 4
Views: 4880

PostForum: General CCS C Discussion   Posted: Tue Apr 06, 2010 1:14 pm   Subject: Is possible do this logic?
If all you want to do is determine if:

* Pin is low,
* Or Pin is neither high or low - it's tri-stated (or not connected)

Exactly it !...

I read the doc and implemented... works fine ...
  Topic: Is possible do this logic?
BotBoy

Replies: 4
Views: 4880

PostForum: General CCS C Discussion   Posted: Tue Apr 06, 2010 10:47 am   Subject: Is possible do this logic?
Hi...

An input can be the level 1 if is powered level 0 if is grounded.
Most the time I always do this logic of the input using 1 or 0.

Is possible have a 3rd input state?

Suppose I need onl ...
  Topic: Flexible LCD driver
BotBoy

Replies: 102
Views: 1058448

PostForum: Code Library   Posted: Tue Nov 10, 2009 1:15 pm   Subject: Flexible LCD driver
lcd_putc("\fHello World\n");
lcd_putc("Line Number 2");

Is possible after put these two lines on LCD...
write some word only on line 2 without clean line 1?
  Topic: 2x20 LCD Driver ?
BotBoy

Replies: 2
Views: 5336

PostForum: General CCS C Discussion   Posted: Tue Nov 10, 2009 5:37 am   Subject: 2x20 LCD Driver ?
Flex_Lcd..

look at in code library section...
  Topic: Read two input pins like a binary
BotBoy

Replies: 3
Views: 4726

PostForum: General CCS C Discussion   Posted: Mon Nov 09, 2009 9:49 am   Subject: Read two input pins like a binary
Great!... Worked fine thank you!!!

But why just add 3 to the input_a? What is the reason for it?

If I need look for 4 inputs instead 2...

I tried some tests just adding 2 more inputs in in ...
  Topic: Read two input pins like a binary
BotBoy

Replies: 3
Views: 4726

PostForum: General CCS C Discussion   Posted: Sat Nov 07, 2009 8:30 am   Subject: Read two input pins like a binary
Hi all,

I´m trying read two inputs and after it enable one specifical output high. I did a code but i think maybe not can be the better way to do it.

Any suggestions?
#include <16F628A.h> ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group