So you have to come up with a sort of simple protocol, a set of rules that the PC / server and Arduino agrees on. But Arduino knwos nothing about such things as files or protocols or whatever. To get the hit counter to Arduino you can either have some program on the PC / server send the data to Arduino, or you can have a program on the PC / server listening for a request from Arduino. That is by sending and recieving data over the serial line. There are really only one way for Arduino to communicate with your PC / server.
0 Comments
Leave a Reply. |