I dont know your display board... but marlin has support for some push button control boards already
See [
reprapworld.com]
In marlin
//
// RepRapWorld REPRAPWORLD_KEYPAD v1.1
// [
reprapworld.com]
//
// REPRAPWORLD_KEYPAD_MOVE_STEP sets how much should the robot move when a key
// is pressed, a value of 10.0 means 10mm per click.
//
//#define REPRAPWORLD_KEYPAD
//#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0
Perhaps looking for REPRAPWORLD_KEYPAD would be a good place to start in the code..
But mayby not, looks like those button are read over SPI...
How are the buttons wired? directly to IO pins or something else
I think first step is probably some detailed photos of the lcd and connectors and where they connect to on their controller.
Edited 1 time(s). Last edit at 05/28/2016 07:11AM by Dust.