Go Down

Topic: Get screen resolution of connected pc (Read 179 times) previous topic - next topic

Tailung

Feb 26, 2019, 07:46 am Last Edit: Feb 26, 2019, 08:19 am by Tailung
I'm working on a project were it would be very helpful that I know the display resolution of the screen were the arduino is connected to.
The arduino stays connected to the pc trough usb. The PC (win10) has a monitor. The arduino needs to know the resolution of that screen / monitor.
Is there a way to accomplish this?

Robin2

You need a program running on the PC that sends a suitable message to the Arduino.

An Arduino has no access to the innards of your PC.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

PaulS

Quote
it would be very helpful that I know the display resolution of the screen were the arduino is connected to.
The Arduino sends serial data to/receives serial data from a COM port on a PC. It is NOT connected to a screen.

I can not imagine how the serial data it sends would depend on the screen resolution. Some clarification is clearly in order.
The art of getting good answers lies in asking good questions.

Go Up