I have not looked at the asm for ESP32, but it is quite the chip. I now the Arduino IDE has a model for it, Anyone thought about porting GCB to if it is microchip or AVR like inside? I do not like C, but have been using it with the ArduinoIDE just to play with the chip. Cheap, lots of i/o, wifi, blue tooth...
I took parts of code and made the below program. The LCD shows > 13 on the screen. Temp is 13 for some reason, and if I jumper (no keypad yet) D7 to D8 still 13 on display? Any ideas #chip mega328p, 16 #include <UNO_mega328p.h> HI2CMode Master #define HI2C_DATA #define LCD_IO 10 #define LCD_I2C_Address 0x4e '// Change to 0xFE for SainSmart ELSE 4E #define LCD_Backlight_On_State 1 '// These may need to be reversed #define LCD_Backlight_Off_State 0 #define KEYPAD_ROW_1 DIGITAL_11 #define KEYPAD_ROW_2...
4.7K pull-up seems to have done the trick. Thanks Will have keypads today and give the real test.
OK, another question. Anyhone have a 3x4 or 4x4 routine? None of the info mentioned pull up or down on anything, So I pulled from the examples and jumped D7 and D8
I took parts of code and made the below program. The LCD shows > 13 on the screen. Temp is 13 for some reason, and if I jumper (no keypad yet) D7 to D8 still 13 on display? Any ideas #chip mega328p, 16 #include <UNO_mega328p.h> HI2CMode Master #define HI2C_DATA #define LCD_IO 10 #define LCD_I2C_Address 0x4e '// Change to 0xFE for SainSmart ELSE 4E #define LCD_Backlight_On_State 1 '// These may need to be reversed #define LCD_Backlight_Off_State 0 #define KEYPAD_ROW_1 DIGITAL_11 #define KEYPAD_ROW_2...
The below code displays > 13 on the LCD I jumper D7 and 8 and no change as well. Any ideas? ~~~ #chip mega328p, 16 #include <UNO_mega328p.h> HI2CMode Master #define HI2C_DATA #define LCD_IO 10 #define LCD_I2C_Address 0x4e '// Change to 0xFE for SainSmart ELSE 4E #define LCD_Backlight_On_State 1 '// These may need to be reversed #define LCD_Backlight_Off_State 0 #define KEYPAD_ROW_1 DIGITAL_11 #define KEYPAD_ROW_2 DIGITAL_10 #define KEYPAD_ROW_3 DIGITAL_9 #define KEYPAD_ROW_4 DIGITAL_8 #define KEYPAD_COL_1...
Since this is my thread. I will post here. I grab some code and made the below. Keypad it on order, but will just short a row and column. When I run it I get my "> " and 13 (with no row/col shorted. If I short 7 and 8 still a 13 on display. Anyone see what I missed? ~~~ #chip mega328p, 16 #include <UNO_mega328p.h> HI2CMode Master #define HI2C_DATA #define LCD_IO 10 #define LCD_I2C_Address 0x4e '// Change to 0xFE for SainSmart #define LCD_Backlight_On_State 1 '// These may need to be reversed #define...
I made a post and do not see it. Going to bump this thread and see if somehow my account is not working. I get GCB stuff all day. I posted and like it never made it. I guess mods have to approve new topics or something (if I see this comment show up). Like to get keypad working this weekend...