<commit_before>---
author: jpliew
title: "Exercise 7 - Arduino Automatic Night Lamp"
layout: guide
post-card-type: image
card-image: common_photo_resistor.svg 
lang: en
description: What is automatic night lamp and learn how to write Arduino night lamp sketch using photoresistor and Arduino. In this excercise we will learn how to make an Arduino automatic night lamp using photoresistor and the (STMB). An automatic night lamp is basically a lamp that will automatically turn on when it sense darkness in the environment. In this example, we will be using a photoresistor to demonstrate how to convert the ambient level into a lamp's brightness. 
contents<commit_msg>fixed typo<commit_after>---
author: jpliew
title: "Exercise 7 - Arduino Automatic Night Lamp"
layout: guide
post-card-type: image
card-image: common_photo_resistor.svg 
lang: en
description: What is automatic night lamp and learn how to write Arduino night lamp sketch using photoresistor and Arduino. In this excercise we will learn how to make an Arduino automatic night lamp using photoresistor and the (STMB). An automatic night lamp is basically a lamp that will automatically turn on when it sense darkness in the environment. In this example, we will be using a photoresistor to demonstrate how to convert the ambient level into a lamp's brightness. 
contents:
{'fraction_non_alphanumeric': 0.04266467065868264, 'fraction_numerical': 0.0014970059880239522, 'mean_word_length': 4.915929203539823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2544328', 'n_tokens_mistral': 358, 'n_tokens_neox': 331, 'n_words': 196}