Arduino Photoresistor: Difference between revisions

From wikiluntti
Line 1: Line 1:
== Introduction ==
== Introduction ==


Simple code to use photoresistor.
Simple code to use photoresistor or photocell.


The resistance of a photoresistor decreases when it is hit by light, or it lets electricity flow through it if light is hitting it
The resistance of a photoresistor decreases when it is hit by light, or it lets electricity flow through it if light is hitting it

Revision as of 17:59, 29 November 2024

Introduction

Simple code to use photoresistor or photocell.

The resistance of a photoresistor decreases when it is hit by light, or it lets electricity flow through it if light is hitting it

Code