Author |
Message |
Topic: HELP |
kishen
Replies: 10
Views: 13406
|
Forum: General CCS C Discussion Posted: Tue Apr 21, 2015 8:27 am Subject: HELP |
It's OK i have fixed the problem, thanks anyways |
Topic: HELP |
kishen
Replies: 10
Views: 13406
|
Forum: General CCS C Discussion Posted: Tue Apr 21, 2015 4:29 am Subject: HELP |
my project has 3(horizontal) x 2(vertical) level, 6 compartments that has a car in each. it has 3 motors to retrieve the cars, 1 for horizontal movement(left - right) , 1 for vertical movement(top - d ... |
Topic: HELP |
kishen
Replies: 10
Views: 13406
|
Forum: General CCS C Discussion Posted: Mon Apr 20, 2015 7:37 am Subject: RE: |
Thanks, but it still does not solve my problem
#include <18F8722.h> //select proper pic header file
#device ICD=TRUE
#fuses HS,NOLVP,NOWDT
#use delay (clock=20000000)
... |
Topic: HELP |
kishen
Replies: 10
Views: 13406
|
Forum: General CCS C Discussion Posted: Mon Apr 20, 2015 6:32 am Subject: HELP |
I am using 2 push buttons to do two different things, when i compile my code and press the first push button then the second one, first again then the second one it works, i.e when i press in a sequen ... |
Topic: int_ext3 |
kishen
Replies: 4
Views: 8004
|
Forum: General CCS C Discussion Posted: Sat Apr 18, 2015 6:14 am Subject: RE: |
but there is no pin b3 for external connection in pic18f8722 and where should i connect the rest of the push buttons so i can use my interrupt feature. |
Topic: int_ext3 |
kishen
Replies: 4
Views: 8004
|
Forum: General CCS C Discussion Posted: Fri Apr 17, 2015 9:44 am Subject: int_ext3 |
I am using port b to switch on motor for a period of time using timer. I chose port b as it has internal pull up resistors and are equipped with timer function. I have written a code that has two push ... |
Topic: External push button |
kishen
Replies: 8
Views: 12986
|
Forum: General CCS C Discussion Posted: Thu Apr 16, 2015 9:14 pm Subject: RE: |
I have tried out this code the light turns on and off automatically and flicks. is this due to key debouncing or we have to add set_tris_f() to tell 18f8722 that f0 is input. I have tried putting an L ... |
Topic: External push button |
kishen
Replies: 8
Views: 12986
|
Forum: General CCS C Discussion Posted: Thu Apr 16, 2015 1:32 am Subject: External push button |
hi, i have read the code where push button A4 was used to turn on LED, but i am not able to switch on led through external push button, lets say for example if a push button is connected to pin F0 for ... |
|