#garfield | Logs for 2016-12-14

Back
[00:00:26] <rue_house> int scanKeyboard() {
[00:00:26] <rue_house>
[00:00:26] <rue_house> PORTB = 0x06 | 0xF8; // first row low, pullups on
[00:00:26] <rue_house> lcd_delay(1);
[00:00:26] <rue_house> if ((PINB | 0x07) != 0xFF) {
[00:00:27] <rue_house> return PINB;
[00:00:29] <rue_house> }
[00:00:31] <rue_house>
[00:00:33] <rue_house> PORTB = 0x05 | 0xF8; // second row low, pullups on
[00:00:35] <rue_house> lcd_delay(1);
[00:00:37] <rue_house> if ((PINB | 0x07) != 0xFF) {
[00:00:39] <rue_house> return PINB;
[00:00:41] <rue_house> }
[00:00:43] <rue_house>
[00:00:45] <rue_house> PORTB = 0x03 | 0xF8; // third row low, pullups on
[00:00:47] <rue_house> lcd_delay(1);
[00:00:49] <rue_house> if ((PINB | 0x07) != 0xFF) {
[00:00:51] <rue_house> return PINB;
[00:00:55] <rue_house> }
[00:00:57] <rue_house>
[00:00:59] <rue_house> return 0;
[00:01:01] <rue_house>
[00:01:03] <rue_house> }
[00:01:05] <rue_house> hmmm
[00:01:07] <rue_house> always code with fate
[00:01:09] <rue_house> feight
[00:01:25] <rue_house> ... I need a pinout
[00:01:36] <rue_house> like my pendant?
[00:02:02] <Jymmm> cool
[00:03:17] <Jymmm> Here's mine... https://upload.wikimedia.org/wikipedia/commons/d/d3/NES-Power-Glove.jpg
[00:04:17] <rue_house> I like the encoders for the cnc machines
[00:04:35] <Jymmm> Fine, add some.... https://www.keyglove.net/
[00:08:13] <Jymmm> Though, it would be cool if ou could get a connectix to be a pendant
[00:15:12] <rue_house> huh, the m328 has two pins that are ONLY adc
[01:15:38] <rue_house> hmmm, new firebox cant keep up with the heat loss in the house
[01:16:10] <rue_house> should outpace the house rad easy
[11:59:24] <Jymmm> rue_house: I thought you had a Bazillion BTU boiler. With that you could just heat the outdoors
[11:59:50] <Jymmm> rue_house: ...you global waring bastard!!! lol
[23:22:56] <AltJesteR> u here rue
[23:23:16] * AltJesteR slaps rue_shop with a 4r8a9i11n13b17o26w trout