thats exactly what i needed,
thanks!
Type: Posts; User: chriroz; Keyword(s):
thats exactly what i needed,
thanks!
hi,
I have a project in wich i use the RCtime commando a lot
every time i use rctime it costs me 0,131 seconds. this is realy slowing my program down. is there a possibility to give it a timeout...
I'm working on a local positioning system. I have one robot that sends a soundpulse and 3 receiver ("satalites") that receive that pulse and send all the timing data back to the robot.
I have one...
YEAH!!!!! IT WORKS finally after 2 weeks of trying it works :D
HenrikOlsson's code worked except for
CMCON = 7 'Turn off all comparators.
it gave me an undefined symbol 'cmcon' error but...
Thanks a lot. i'm gona test it right now.
and that pissed of thing was because everyone told and asked me things i already posted and that costs me an other day and i didn't had much time to fix it....
well this is only a small part of my project and they can understand the code (that's not very hard) but they cant make it up.
I'm still pissed, and BigWumpus is an perfect example why:
in this case "dat" is the boudrate. i tried every single boudrate between 16000 and 20000 because i thought there may be a timing...
I'm getting a little pissed now! Why is nobody helping me? i asked a question (what are pullups and how do i enable internal pullups) that most of the people here can answer BUT NOBODY DOES. AND...
I connected my data wire with a 10k resistor to the ground (thats pulling down right?) and tried to use any combination of boudrates but i never see my pic blinking (so no data transmission yet...)...
i use PORTC.0 (pin10) or PORTC.1 (pin 9) (I tried both).I don't use pullups (YET :)). What does that pullup resistor do and how do i activate internal pullup?
I still have a problem receiving data with my my pic16f688. I can send data (serout or serout2) but i can't receive it (serin or serin2) . does anyone else have this problem OR know how to solve it?...
in the case where i receive the zero's i don't wait for the "k" (SerIn2 S_in,396,[dat]) I just wait for anything to come in and thats a zero (witch i didn't send!). also tried to send some data AFTER...
I also tried to use an FlowPin and it didn't work. but i found out something strange. after i send my data from my stamp the pin stays high. is that normal? if i give an "low 10" command after it it...
OK, THIS IS THE WHOLE CODE:
<quote>
on the stamp:
' {$STAMP BS2}
' {$PBASIC 2.5}
' {$PORT COM1}
dat VAR Byte
does anyone know how to fix this? the transmitting does work from stamp to pic but it doesn't from pic to stamp. please help me.
ok here is the whole code:
on the stamp:
<code>
' {$STAMP BS2}
' {$PBASIC 2.5}
' {$PORT COM1}
dat VAR Byte
DO
it seems to be receiving something after al.
if i use this code:
main:
SerIn2 S_in,396,[dat]
pause 100
SEROUT s_out, N2400,["1234t", dat]
goto main
and i read it out on my...
i'm trying to receive some serial data on my pic 16f688 but it doesn't receive anything (sending data works perfectly). i'm want to blink a led on the pic on command.
I use this code to send the...
I'm new to PIC programming and i have a question
I want to know how to get an input on an 16f688
i want to switch on a led if some port is high and turn it of again when it's low, but i can't get...