In .net, use unsigned char for your data to arduino. Within arduino sketch, use String data type and getBytes() to receive as int. To output integer values to .net from arduino, use int data type and serial out int value.
In .net, use unsigned char for your data to arduino. Within arduino sketch, use String data type and getBytes() to receive as int. To output integer values to .net from arduino, use int data type and serial out int value.