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 4 matches
CCS Forum Index
Author Message
  Topic: PIC 18F2550 setting inputs, counter
the0xydo

Replies: 9
Views: 15437

PostForum: General CCS C Discussion   Posted: Sun Mar 11, 2012 8:01 am   Subject: PIC 18F2550 setting inputs, counter
I've had resistors there on right spot from beginning Smile
This is main program.

#include <18F2550.h>
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock=48000000)
# ...
  Topic: PIC 18F2550 setting inputs, counter
the0xydo

Replies: 9
Views: 15437

PostForum: General CCS C Discussion   Posted: Sun Mar 11, 2012 4:16 am   Subject: PIC 18F2550 setting inputs, counter
i've tried to modify that code for my 18F2550 but when i'm compiling there's error in button.c program, it seems that there is Bvar = 0 is not defined . Geez only a simple push switch is making me so ...
  Topic: PIC 18F2550 setting inputs, counter
the0xydo

Replies: 9
Views: 15437

PostForum: General CCS C Discussion   Posted: Sat Mar 10, 2012 3:42 pm   Subject: PIC 18F2550 setting inputs, counter
Yes I've got resistors on all 3 push-switches, and electrically I get correct voltage.

But somehow I can't get switches to work with any kind of program.
If you got any simple program to test swit ...
  Topic: PIC 18F2550 setting inputs, counter
the0xydo

Replies: 9
Views: 15437

PostForum: General CCS C Discussion   Posted: Sat Mar 10, 2012 1:18 am   Subject: PIC 18F2550 setting inputs, counter
Hello, I'm kinda new in this programming, so I'd like to know how to set inputs as following.
RA0=analog input
RA1, RA2, RA3=switch (which i think means digital output?)
I'd just need simple progr ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group