Hello Folks,
I'd like to build my own serial communication protocol with rs485. Therefore I have to send the data in 9 bit mode.
Example:
first byte + 9th bit set -> that's the adress of the...
Type: Posts; User: helloo; Keyword(s):
Hello Folks,
I'd like to build my own serial communication protocol with rs485. Therefore I have to send the data in 9 bit mode.
Example:
first byte + 9th bit set -> that's the adress of the...
All three of you where right. Thank you all. Deleted the "LED low" command (wich I added after nothing happened). Added "CMCON = 7" as Shawn suggested. Now it works. Grrrmmm three lousy bits, many...
Hey fellow PICers :topsy_turvy:
After a few projects with PIC 16F series, I try to move on to the more advanced PIC 18F series. But already at the very beginning I got stuck. I tried already to...
Thanks for all. That is a solution to the problem. Thank you.
Hey @ all,
I wonder what happens within the µC when I write code that jumps out of a subroutine with the goto command?
Example:
main:
GOSUB label
goto main
Hey there,
I wonder if the HPWM signal affects somehow the PULSOUT command? I connected a servo and motors to a 16F876. The motors are driven by HPWM, the servo by PULSOUT. Now, if the motors turn...
Hm, thanks Darryl. The datasheet isn't really clear in this case (written in the datasheet is only PORTB<7:4>). I always thought portb change is the whole portb as the name says.
I'll check this out...
Hey there,
I'm trying to code a portb change interrupt routine with DT's Inst Ints, but it does very weird stuff, and I can't find out why.
The setup:
PIC 16F876 @ 20 MHz
I have connected...
The circuit and the program work now. It's easily possible to drive up to three LCDs with only three I/O pins of the µC. Darryls "strings.pbp" work with only minor changes for my program. Thanks...
Hi coders,
yepp, it was the darn LC display. I tried the 1602, and the code works. *grnnpgf* I spent 5 days of trying for nothing...
Anyway, the next goal is to store strings in PICs memory, and...
Hi Darryl,
thank you for trying to help, but after another three days of trying, changing bytes, switching bits, I am pretty sure that my LCD doesnt meet HD44780 specs for 100%.
Your code does...
Hello coders,
I'm stuck in a problem: I've connected a LC display with a 16F876A via a 74HC595 stack IC. But the display does'nt do what I want it to.
The cirquit is O.K., the communication to...
merhaba. Do you have a pullup resistor on pin a5/mclr?
That was often the reason why my progs didn't seem to work.
But beware: If you use ICSP you have to combine the resistor with a diode to...
Thanks a lot! I was searching over and over again yesterday, but i guess i used the wrong words to search for...
Hello Folks,
i wonder if there's a way to store a table of constants within the ROM of the PIC, maybe just after the program, with PICBasicPro? Or in ASM? Or is the only way editing the HEX file?...