Hello everyone,
I am new here and I am trying to learn some things about Arduino. Recently, I was turning a LED ON/OFF with my keyboard turning it ON when pressing 1 and turning it OFF when pressing 0. I was doing that using the serial monitor then I learned about puTTy where I can do the same without the serial monitor of the Arduino IDE but, unfortunately this only works when puTTy is on the screen when it is not minimized or closed. So, I was wondering if there was another way that I could use so that I am able to turn my LED ON/OFF without some software appearing on the screen and by just pressing 1 or 0.
Your PC uses a graphical interface for human interaction. There is no way to get around it.
the way modern operating system work is by capturing events and routing them to the appropriate application. Usually keyboard and mouse events are routed to to top most open application
The systems also offer the ability to trap some shortcuts and associate them to specific entries into a service / application - for example performing a partial screen grab, function keys, etc. But that won't work just for 0 and 1
the easiest solution would be to add physical buttons to you Arduino
Hello, another question I was wondering how can I send a command to the my Arduino instead of pressing "1" by pressing the "ctrl" button is that possible?
You need an app that traps the ctrl button and sends a command to the arduino. So it’s possible if you write that app and it’s receiving events.
You can also add new custom hot keys to windows 10 for example
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.