Author |
Message |
Topic: #int_rda problem |
maxD
Replies: 2
Views: 5146
|
Forum: General CCS C Discussion Posted: Fri Jan 03, 2014 2:49 am Subject: #int_rda problem |
Hi guys!
In the ex_sisr.c example , #int_rda written using getc().
But, can we use get_string() instead of getc() inside #int_rda ISR? |
Topic: question in interrupts |
maxD
Replies: 4
Views: 7732
|
Forum: General CCS C Discussion Posted: Sun Dec 29, 2013 7:08 am Subject: question in interrupts |
thanks |
Topic: question in interrupts |
maxD
Replies: 4
Views: 7732
|
Forum: General CCS C Discussion Posted: Sun Dec 29, 2013 5:22 am Subject: question in interrupts |
following code is for led blinking
when i press push button led on and blinks till i press it again(then it will off)
#include<18f2550.h>
#fuses NOWDT,HS,NOPROTECT,NOLVP
#use delay(clo ... |
Topic: sending data to pic via max 232 by rs232 not working in prot |
maxD
Replies: 11
Views: 23660
|
Forum: General CCS C Discussion Posted: Sun Dec 29, 2013 3:20 am Subject: sending data to pic via max 232 by rs232 not working in prot |
K I got your point
Thank you so much !! |
Topic: sending data to pic via max 232 by rs232 not working in prot |
maxD
Replies: 11
Views: 23660
|
Forum: General CCS C Discussion Posted: Sun Dec 29, 2013 2:17 am Subject: sending data to pic via max 232 by rs232 not working in prot |
KK got your point thanks |
Topic: sending data to pic via max 232 by rs232 not working in prot |
maxD
Replies: 11
Views: 23660
|
Forum: General CCS C Discussion Posted: Sun Dec 29, 2013 1:30 am Subject: sending data to pic via max 232 by rs232 not working in prot |
ya i used only 2 invertions..
one is by max232
other one is by pic
and you see i'm getting the output start typing buffered data=>..(look my image) |
Topic: sending data to pic via max 232 by rs232 not working in prot |
maxD
Replies: 11
Views: 23660
|
Forum: General CCS C Discussion Posted: Sat Dec 28, 2013 10:51 pm Subject: sending data to pic via max 232 by rs232 not working in prot |
to avoid that invert case you mentioned i put the invert in # use rs232..see the result is in images
And I spent 2 days searching on web for answer. so what you guys suggest me to do? |
Topic: sending data to pic via max 232 by rs232 not working in prot |
maxD
Replies: 11
Views: 23660
|
Forum: General CCS C Discussion Posted: Sat Dec 28, 2013 10:11 pm Subject: sending data to pic via max 232 by rs232 not working in prot |
thanks for quick replying
but here i spend two days searching websites to fix this but unable to do it.
And here if there is no INVERT the output will be wrong. I tested it before. |
Topic: sending data to pic via max 232 by rs232 not working in prot |
maxD
Replies: 11
Views: 23660
|
Forum: General CCS C Discussion Posted: Sat Dec 28, 2013 9:57 pm Subject: sending data to pic via max 232 by rs232 not working in prot |
Hi guys i posted this post in two forums before i post this here
but no one gave me a answer.I know this site is only for ccs c problems not for proteus problems. so only for now please help me with ... |
Topic: little change in input.c in example file gives error |
maxD
Replies: 1
Views: 5895
|
Forum: General CCS C Discussion Posted: Sat Dec 28, 2013 12:47 am Subject: little change in input.c in example file gives error |
hi i've compiled the input.c as here
#include<18f2550.h>
#include<stdlib.h>
#fuses NOWDT,HS,NOPROTECT,NOLVP
#use delay(clock=20000000)
#use rs232(baud=9600,xmit=PIN_C6,r ... |
Topic: delay_ms not working |
maxD
Replies: 5
Views: 12729
|
Forum: General CCS C Discussion Posted: Thu Dec 26, 2013 3:26 am Subject: delay_ms not working |
Thanks so much PCM Programmer my problem 100% solved..!! |
Topic: delay_ms not working |
maxD
Replies: 5
Views: 12729
|
Forum: General CCS C Discussion Posted: Thu Dec 26, 2013 1:01 am Subject: delay_ms not working |
Thanks
i did as they said deleted the delay_ms(20) and both delay_ms(1000) and made some difference in the circuitry. NOW it works but when i add the delay_ms(1000) with #use delay as i mentioned in ... |
Topic: delay_ms not working |
maxD
Replies: 5
Views: 12729
|
Forum: General CCS C Discussion Posted: Wed Dec 25, 2013 9:24 pm Subject: delay_ms not working |
https://www.facebook.com/photo.php?fbid=676530512407916&set=a.676530499074584.1073741827.100001529206440&type=3&theater
Sorry i am unable to find another way to show you this.
here is ... |
Topic: delay_ms not working |
maxD
Replies: 5
Views: 12729
|
Forum: General CCS C Discussion Posted: Wed Dec 25, 2013 9:02 pm Subject: delay_ms not working |
Hi guys I'm doing some experiment using Proteus.
First i push the push button, led starts to blink till i push it again.
But here when i start simulation led turned on automatically and push button ... |
Topic: sending binary values through rs232 using pic 18f2550 |
maxD
Replies: 17
Views: 50376
|
Forum: General CCS C Discussion Posted: Sun Dec 22, 2013 5:52 am Subject: sending binary values through rs232 using pic 18f2550 |
Thank you for your comment Ttelmah... |
|