example/demo.js
function displayButton(state, button) {
  lcd.clear();
  lcd.message('Button: ' + lcd.buttonName(button) + '\nState: ' + state);
  console.log(state, lcd.buttonName(button));
}
function displayButton(state, button) {
  lcd.clear();
  lcd.message('Button: ' + lcd.buttonName(button) + '\nState: ' + state);
  console.log(state, lcd.buttonName(button));
}
function displayButton ( state , button ) { lcd . clear ( ) ; lcd . message ( 'Button: ' + lcd . buttonName ( button ) + '\nState: ' + state ) ; console . log ( state , lcd . buttonName ( button ) ) ; }
show button state on lcd and console
show button state on lcd and console