Digital and Analog Signals

Digital and Analog Signals#

TODO

Digital signals represent data as discrete binary values (0s and 1s). Analog signals represent data as continuous waves of varying amplitude or frequency. In the case of a micro:bit, an analog signal can be within the range of 0 and 1023 or between 0 and 255 (in certain circumstances).

Possible plots for digital and analog signals are displayed below:

digital-analog-signal

TODO:ADD MORE DETAIL

Checkpoint: Digital or Analog Signal#

Consider the following inputs:

A: A button

B: A temperature sensor

C: A light-level sensor

D: A switch

Are the inputs above examples of a digital or an analog signal?