Try printing to display (does not build yet)

pull/30/head
probonopd 3 years ago committed by GitHub
parent bf9055c140
commit bdf6aabe15
  1. 5
      src/minidexed.cpp

@ -155,6 +155,11 @@ void CMiniDexed::MIDIPacketHandler (unsigned nCable, u8 *pPacket, unsigned nLeng
memset(reinterpret_cast<void*>(buf_name), 0, 11); // Initialize with 0x00 chars memset(reinterpret_cast<void*>(buf_name), 0, 11); // Initialize with 0x00 chars
s_pThis->setName(buf_name); s_pThis->setName(buf_name);
printf ("%s\n", buf_name); printf ("%s\n", buf_name);
// Print to optional HD44780 display
s_pThis->LCDWrite("\x1B[?25l"); // cursor off
CString String;
String.Format ("%i\n\r%s", pPacket[1], buf_name);
s_pThis->LCDWrite ((const char *) String);
return; return;
} }

Loading…
Cancel
Save