Is there a way to use the arduino IDE and use a windows.h library in my main cpp file?
this is my first stack overflow post and hope to not break anything.
I am currently trying to hook up my arduino micro to my cpp code. The point of the program is to seek if there are any certain color rgb pixels on the screen (240,130,208) and see within an x,y range. The problem is that when I try to import the windows library/api to my main.cpp code, it seems that the arduino ide spits out a compilation error,
Compilation error: windows.h: No such file or directory
I have tried to manually install the windows.h, and hook it up through the sketch tab. However, this leads me no where.
As you must know, I have to use the prebuilt c++ windows library in order to access my screen. All I need with the arduino micro is press the letter ‘k’ whenever the foundPixel() method returns true. Here are all my files