analogRead and Serial in Visual Studio

Hello, thank you for your reply. Please find the code attached.

I will correct the analogread float to int. You see the characters I receive at the screen.

My question is how can I implement the same way with analogRead, pinMode etc. in windows app if there is a built in library that I can use instead of an ino file. Thank you

arduino.cpp (2.08 KB)

Manager.cpp (2.01 KB)

arduino.h (586 Bytes)