Idea: Writing to Serial Port
Posted: Sat Feb 24, 2018 7:33 am
Hey,
I'm not sure if MicroMacro is still being developed, but I've been using it for a while and I really like it.
Recently, I started to learn about programming microcontrollers - the MEGA32U4 to be exact - and I found out that it is fairly easy. The chip also has the functionality to double as an input device through USB, without having to rely on non-microsoft drivers or anything that circumvents anti-cheat modules. What I did, was to interface it between my actual keyboard and my PC and it's able to send input sequences without a problem.
Currently I'm using python to do something like this:
The microcontroller receives "do stuff" through the port COM6 with a baudrate of 115200 and then does whatever.
My suggestion for MicroMacro would be to add a similiar function like Serial.Write that allows communication on a USB port.
I think it's pretty niche to have this kind of function, but it could lead to interesting projects that are entirely isolated in MM. Like running a bot on a raspberryPI for another PC, without having to rely on a seperate server-client software solution. Just Plug & Play.
Anyway, just a small idea.
I'm not sure if MicroMacro is still being developed, but I've been using it for a while and I really like it.
Recently, I started to learn about programming microcontrollers - the MEGA32U4 to be exact - and I found out that it is fairly easy. The chip also has the functionality to double as an input device through USB, without having to rely on non-microsoft drivers or anything that circumvents anti-cheat modules. What I did, was to interface it between my actual keyboard and my PC and it's able to send input sequences without a problem.
Currently I'm using python to do something like this:
Code: Select all
serial.Serial("COM6", 115200).write("do stuff".encode());
My suggestion for MicroMacro would be to add a similiar function like Serial.Write that allows communication on a USB port.
I think it's pretty niche to have this kind of function, but it could lead to interesting projects that are entirely isolated in MM. Like running a bot on a raspberryPI for another PC, without having to rely on a seperate server-client software solution. Just Plug & Play.
Anyway, just a small idea.