22
Aug
2023
23:30 PM

Aruduino controlled by a COBOL program!

What if you want to use the most improbable language, just to control an Arduino? Some COBOL dialects permit to achieve this result without any additional API: Microfocus! But, what if you want to do it with Acucobol-GT?

I wrote a simple Serial Driver, a small executable, that can be invoked via native C$SYSTEM COBOL routine: in this GitHub repository is included the COBOL program, the executable driver that you can invoke via C$SYSTEM and all the source code. Also the simple .ino sketch for your arduino board is included. The repository shows to control 3 leds!

Just install your copy of Acucobol-GT (I have 7.0.0 version), correct all the paths inside the batches, run and enjoy!

Repository here: GO TO THE REPO



You may also like