1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

microcontroller

Discussion in 'Homework Help' started by Wjs, Jun 9, 2016.

  1. Wjs

    Wjs New Member

    Joined:
    May 9, 2016
    Messages:
    21
    Likes:
    0
    1. What is the relationship between the variable sensorValue and blinking speed?

    2. What other data types of variables are there? Give example of their values and ranges
    3. How to write a sketch using both analogWrite() and analogRead() functions to vary the brightness of the LED with the potentiometer. This is the same concept used in dimmer switch for lighting or volume knob control
     
  2. ronsimpson

    ronsimpson Well-Known Member Most Helpful Member

    Joined:
    Apr 17, 2007
    Messages:
    7,253
    Likes:
    961
    Location:
    Loveland, CO USA
    1.
    There is some information that you know but you did not share with us.

    4.
    I know ..........42!
     
  3. djsfantasi

    djsfantasi Member

    Joined:
    Mar 15, 2011
    Messages:
    161
    Likes:
    21
    Location:
    Metro Boston
    Is the microcontroller an Arduino?

    What do you know about controlling the brightness of an LED? Can it be done by an analogRead or analogWrite?
     

Share This Page