Spend a significant amount of time studying both the Wikipedia article (there are many others on line) and the Arduino example code, and it will eventually become clear.
Spend a significant amount of time studying both the Wikipedia article (there are many others on line) and the Arduino example code, and it will eventually become clear.