Go Down

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


                                                                                                                                                      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.



Wuah! I finally got my account back. I still exist. Now that I'm locked inside for a few weeks, let's see if I can get some polish put on this thing. I lost the phi_prompt shield long ago, actually don't even have a standard Arduino form-factor board in my house anymore (I used a boArduino for too long, lol)... but all the more reason to divorce this project from that specific shield and build a serial terminal interface version of it. I think I can pull that off... expect some updates soon :)


Hey man, nice to hear from you, and waiting for the update!



I'm not sure this is so relevant know, but I have made some update of the original code provided by FalconFour, so that it can compile with the latest versions of Arduino IDE.

I also made menu and graphics adaptations to released in a 2.0.0 version:

This need a config with Arduino Uno + 2x16 LCD keypad shield.

The libraries to import on Arduino IDE are provided and all *.ino files need to be placed in the same folder.

Go Up