You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using arduino mega 2560. A PS2 keyboard is connected to read keys & display on segment.
Issue faced is, when power in turned off & applied again on entire system(MCU+PS2 converter+usb keyboard), keyboard don't get initialized again automatically, that is I am not able to read any keys unless I remove the keyboard from socket & connect again, then I can read again.
There is small USb to PS2 converter used. Keyboard is usb.
what could be issue.
below is keyboard code:
const int DataPin = 19;
const int IRQpin = 18;
PS2Keyboard keyboard;
keyboard.begin(DataPin, IRQpin);
keyboard.clear();
c = keyboard.read();
Serial.println(c);
The text was updated successfully, but these errors were encountered:
I am using arduino mega 2560. A PS2 keyboard is connected to read keys & display on segment.
Issue faced is, when power in turned off & applied again on entire system(MCU+PS2 converter+usb keyboard), keyboard don't get initialized again automatically, that is I am not able to read any keys unless I remove the keyboard from socket & connect again, then I can read again.
There is small USb to PS2 converter used. Keyboard is usb.
what could be issue.
below is keyboard code:
const int DataPin = 19;
const int IRQpin = 18;
PS2Keyboard keyboard;
The text was updated successfully, but these errors were encountered: