Other reasons for buttons not being read is that they are't wired up correctly or something is damaged.
You can test your existing hardware with the InputPullupSerial builtin example:
Other reasons for buttons not being read is that they are't wired up correctly or something is damaged.
You can test your existing hardware with the InputPullupSerial builtin example: