OMG, I'm such an idiot! And what is the best, at first I haven't touched the RCIE bit at all, I thought checking the RCIF would be enough. But as I wasn't able to capture any data (god knows what...
Type: Posts; User: vaporized; Keyword(s):
OMG, I'm such an idiot! And what is the best, at first I haven't touched the RCIE bit at all, I thought checking the RCIF would be enough. But as I wasn't able to capture any data (god knows what...
Hello.
I'm trying to use mr. Taylor's MIBAM and USART communication in a program but can't get anywhere. I guess I'm ruining something with content of some of the registers because approximately 2...
Hello.
You have to service USB regularly (about 5ms max. between servicing) which the first 18F2550 program fails to do due to "goto Loop2" directing program to Serin. With Serin PIC just sits there...
Hello
Transmitter and receiver do not need to operate at the same speed. They only have to use same baud rate. For instance, PIC and PC work at very different speeds yet they can communicate.
...
line 1 line 2 line 3
Hello.If I may, I'd suggest to move chatbox to a topic/section/something (I don't know the right term) of its own. That way it won't get in a way and if you need it you can always open it in a new...
Hello.
View > Editor Options. On the General tab, near the bottom there is an option to set up default source folder.
After compilation .hex file is created in the same folder where the source file...
Hello.
Suppose you're collecting data in an array called buffer and it contains "mississippi".
To find at which positions within the array there is an "i" you can use another array, e.g....
Hello.
If you commented out HSERIN in the ISR then you're not clearing interrupt flag, therefore constantly looping between main routine and the ISR. Also, I would advise to read RCREG first then...
Hello.
Decimal 7 is same as binary 00000111, that's why mr. Jumper provided the link above. In order to disable analog functions of the portA you have to set first three bits (i.e. bit0, bit1, bit2)...
Well, you obviously feel surrounded by dullards here, but no worries - just keep that attitude. In no time you'll end up having your own forum comprising but a one fool... You like mirror, don't you?
Hello.
Mr. Roger (flotulopex), I apologize once more.
No need to test it, you're absolutely right about that. I made a mistake taking piece of your code out of the content. My intention was to...
Hello.
First, I want to apologize for taking liberty to correct other people's code. In post no. 31 mr. Roger (flotulopex) accidentaly made a mistake:
MAIN:
IF PORTA.2 = 0 THEN
...
Hello.
Please forgive me, but I'm still not sure what are you trying to do. What puzzles me most is PAUSE 500 because when a program is executing PAUSE it can't do anything else until the specified...
Hello.
Can you please give us a bit more detailed description of what are you trying to achieve. In the meantime you could try this:
led_tm var word
led var byte
indx var byte
dbc var...
Hello.
I suggest that you use mr. Darrel Taylor's (fantastic) instant interrupts as mr. JohnMacklo proposed, but not from the link he provided which is for 18Fs only and you're using 16F. Instead...
Please accept my apology, English is not my native language so I make many mistakes.
Thank you very much for your kind and patient response. Now I see how stupid my question really was. I...
Hello.
I apologize for reviving old thread but forum is already crowded with so many topics I don't want to aggrandize it further.
In mrs. Melanie's routine I don't understand the following:
...
Hi.
Joe and Marc told you what to do to get desired result, I'll only add that the reason behind it is: high & low are commands that work with one pin you specify not the whole port...