the posted code doesn't read the serial monitor and i don't believe it shows any output that could possibly be to the FPGA