You are mixing string with numeric values...
12345 is a decimal number.
LEN or any other similar command (LEFT, RIGHT, MID) will take as an input just string characters, not numeric values.
...
Type: Posts; User: Ioannis; Keyword(s):
You are mixing string with numeric values...
12345 is a decimal number.
LEN or any other similar command (LEFT, RIGHT, MID) will take as an input just string characters, not numeric values.
...
GP3 does not have any other function except MCLR if set to.
So the erratic behavior may be related to the software. Show the code please.
Ioannis
Indeed, it looks very nice! Nice work.
Ioannis
OK, depends on what you want to do. If you want to place the LCD opposite of the sun, yes, nextion will not fit in.
In anyway, most of the user interface is well covered with these displays. As...
And there is Nextion displays, in many sizes, low cost, with touch and colors to do anything like that with almost zero overhead in programming.
But in either case, nice study case.
Ioannis
Nice and clear fonts. Good work!
Ioannis
On the custom character, unless explicitly stated, you should consider it full of rubbish.
Ioannis
Interesting... This is easy to check I guess.
Ioannis
Thank you for the nice contribution and detailed comments on the code.
Ioannis
then combine accordingly like that:
a_left=(byte_var & %11111000)>>3
to make it right justified if needed.
Ioannis
Something like this?
byte_var var byte
a_left var byte
b_left var byte
byte_var=%10101010
a_left=byte_var & %11111000
I do not have this chip but maybe you should do also this:
OSCCON1=%00000011
OSCCON2=%00000011
So you will have a 32MHz/8=4MHz
You also have the FCMEN_ON which means that if your main...
The idea is to have the PIC as a master device and the PIC to request a communication.
So, with the available commands, it is not possible to make a PIC react as a slave 1-wire device.
You have...
Really nice job on the big numbers.
What is the difference between parallel - serial LCD? Other than electrical connections and some specific commands? Have not used serial so far but I guess...
Have you seen this: http://www.picbasic.co.uk/forum/showthread.php?t=4795&p=26736#post26736
And this: http://www.picbasic.co.uk/forum/showthread.php?t=17707&p=118687#post118687
Ioannis
It sure does...
Think about it.
Ioannis
Why not use a termination character, say 0 terminated string.
So you only have to check if you reached the 0 value in the data area that your message is stored.
This is what Richard suggested....
It is common to other languages too like C for example.
Ioannis
Yeap! That's right! Nice picture with the two grands! Well I hope I don't look that old though...
Ioannis
I was thinking in terms of frequency and the low frequency you stated pushed me into that error. Sorry...
Thanks for the clarification.
Ioannis
Maybe you mean x2 instead of divide by 2.
Ioannis
In your case you need an input.
Can you multiplex with another CCP input?
Ioannis
There is this Tip n Tricks pdf that has #5 about RPM measurment using CCP in combination with #1 and #2 tips.
Ioannis
8958
Amazing piece of work by both of you! Thanks a lot for sharing!
Ioannis
Hi Mike.
Maybe this can help you:...