Go Down

Topic: SMBus Laptop Battery "Hacker" with phi_prompt LCD user interface (Read 20826 times) previous topic - next topic




volshebnik123

 
                                                                                                                                                      C:\Users\PM\Documents\sketch_jan22b\SMBusBattery_Phi\SMBusBattery_Phi.ino:919:37: warning: return-statement with a value, in function returning 'void' [-fpermissive]

  if (bits > 8) return lcd.write('E');

                                    ^

C:\Users\PM\Documents\sketch_jan22b\SMBusBattery_Phi\SMBusBattery_Phi.ino: In function 'void lcd_reinit_phi()':

SMBusBattery_Phi:1018: error: cannot convert 'phi_buttons**' to 'multiple_button_input**' for argument '2' to 'void init_phi_prompt(LiquidCrystal*, multiple_button_input**, char**, int, int, char)'

  init_phi_prompt(&lcd,btns,lcd_columns, lcd_rows, '\x7e'); // Supply the liquid crystal object and the phi_buttons objecst. Also supply the column and row of the lcd, and indicator as '>'. You can also use '\x7e', which is a right arrow.

                                                         ^
 


Go Up