What is the difference between GPIO and UART; Digital Write and Analogue Write? (in simple language!)
GPIO are general purpose input and output pins and UART is a means of communication which is used by the IoT device to communicate.
GPIO(General purpose Input/output): pin which is used to connect input or output devices
UART(Universal Asynchronous Receiver Transmitter): It transmit and receive the serial data in communication .Bolt also uses the UART for communication
Digitalwrite has only two values LOW(0V)and HIGH(3.3V/5V)
Analogwrite is on a scale of 0 - 255, such that analogWrite(255) requests a 100% duty cycle (always on), and analogWrite(127) is a 50% duty cycle (on half the time).