O'Reilly logo

Internet of Things with Python by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test your knowledge

  1. The Intel Galileo Gen 2 board provides the following resolution for the analog to digital converter:
    1. 32 bits.
    2. 64 bits.
    3. 12 bits.
  2. The analog pins allow us to detect a maximum of:
    1. 4,096 different values, with values ranging from 0 to 4095 (inclusive).
    2. 16,384 different values, with values ranging from 0 to 16,383 (inclusive).
    3. 256 different values, with values ranging from 0 to 255 (inclusive).
  3. We can configure the number of bits we want to use as the resolution by calling the following method of an mraa.Aio instance:
    1. setADCResolution.
    2. setBit.
    3. setResolutionBits.
  4. A call to the read method for a mraa.Aio instance returns:
    1. A raw number of units based on the number of the resolution bits configured for the instance.
    2. A voltage value automatically ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required