blueroomelectronics
Well-Known Member
Wonder if you can supply VRef- with a negative voltage?
I've used both a 4.096V and 2.5V Vref+ and LM34/35 with great success.
I've used both a 4.096V and 2.5V Vref+ and LM34/35 with great success.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Reference Voltage Low - Minimum AVSS - 0.3VWonder if you can supply VRef- with a negative voltage?
I've used both a 4.096V and 2.5V Vref+ and LM34/35 with great success.
void lcd_buttons() // read LCD switch matrix
{ char i;
SwData = 0; // clear 'live' sw data var'
data = 0; //
for(i=0; i<6; i++) // clock out six '0' bits
{ clock = 1; clock = 0; // to clear the '174
}
data = 1; //
clock = 1; clock = 0; // col 0, '00001' (Q5..Q1)
data = 0; //
if(swx == 1) //
SwData |= 0b00000001; //
clock = 1; clock = 0; // col 1, '00010'
if(swx == 1) //
SwData |= 0b00000010; //
clock = 1; clock = 0; // col 2, '00100'
if(swx == 1) //
SwData |= 0b00000100; //
clock = 1; clock = 0; // col 3, '01000'
if(swx == 1) //
SwData |= 0b00001000; //
clock = 1; clock = 0; // col 4, '10000'
if(swx == 1) //
SwData |= 0b00010000; //
}
If you liked that, you're going to really like my new **broken link removed**. I'm at day 2 and have the LCD working, but nothing else yet.Your **broken link removed** keeps getting better and better. The PWM backlight brightness control you added is cool.
That's a cool idea! Have you tested it yet? I'd have to spend some time thinking about it before I could say whether I think it'll work. But I've been busy cutting, stripping, counting pins, soldering...I'm trying to duplicate the functionality of your 16F88 / 74LS174 LCD demo' as much as possible using an 8 pin PIC as the host and I wonder if you think my method for driving and reading a switch matrix would work? (the swx label is defined as input gpio.3)
It looks very nice and so does that prototype board with SOIC part spacing.If you liked that, you're going to really like my new **broken link removed**. I'm at day 2 and have the LCD working, but nothing else yet.
No I haven't tested it yet. I don't have a 74LS174 or a 74HC164 in my parts inventory so I'm just experimenting with BoostC code at this point.That's a cool idea! Have you tested it yet? I'd have to spend some time thinking about it before I could say whether I think it'll work. But I've been busy cutting, stripping, counting pins, soldering...