Hi.. Not sure the best place to ask this, sorry if it's in the wrong area.
I'm trying to read a single keypress from STDIN, which is a serial terminal.
I just want to read a single character without waiting for enter, preferably blocking.
I tried a few different things like fgetc_cons and getk but they didn't seem to be implemented on rc2014.
rc2014 press a key
For rc2014, @feilipu is the best person to ask, however I don't think he frequents this forum.
I think he's on the google rc2014 group here: https://groups.google.com/forum/#!forum/rc2014-z80
As a general-ish answer, fgetc_cons() and getk() are classic library features that aren't available in newlib which the rc2014 uses.
I think he's on the google rc2014 group here: https://groups.google.com/forum/#!forum/rc2014-z80
As a general-ish answer, fgetc_cons() and getk() are classic library features that aren't available in newlib which the rc2014 uses.