i think i am going to try this tomorrow....
keyvalue = portB & $0F 'bitwise 00001111
trisB.7 = 0
XXXXXXXXXXXXXX
trisB.7 = 1
Type: Posts; User: reaper0995; Keyword(s):
i think i am going to try this tomorrow....
keyvalue = portB & $0F 'bitwise 00001111
trisB.7 = 0
XXXXXXXXXXXXXX
trisB.7 = 1
another thing.... if i could do an array, that would be fine too. i just dont know if that would help me get the high bits free for outputs....
----------------
keyvalue var byte
pins[1] =...
i am putting a 4 bit binary number to portB on a 16f88. there are 8 bits on portB, and this is what i have:
____________________
keyvalue var byte
keyvalue = PORTB
____________________
...
if you say this:
VAR = 1
LCDOUT $FE, 1, " ", DEC VAR 'three spaces
you will get on the screen
>___1< but lets say your variable becomes 100, you will get:
>___100< ...
might be kinda nice to have a least-significant-digit location set. for instance if you need to display a variable that changes from 1 digit (0-9) to 3 digits (100, etc), and you need to display 4...
so, is there such a thing as being able to make a graphics lcd act like a character based lcd?? i was thinking that it would be nice to have a large lcd (>20x4), and be able to treat it like you do...
close, i am trying to do an encoder and motor/gearing from a printer, but i do have a wheel from a mouse just in case the printer one doesnt work (the encoder has a LOT of interupt bars, if more than...
oh yeah, most likely using a pic16f88 or pic18f452 (maybe f455?? cant remember...)
1: can i do this (below)-
dog var word
HPWM 1, DEC dog, 1000
i want the value of my variable to be sent, this is a value for the duty cycle, but i want duty cycle to vary with respest to...