MC5000_DevKit

An hardware puzzle that teaches the basics of programming.

View on GitHub

home « prev level next level »

Level 3

Crimedingdong Inc. approached us with an idea for a new home alarm system. They found out that most thiefs use a flashlight when breaking into houses. So they want us to create an alarm system that beeps when it detects light.

Specification

Help

Cable connections
  • MCU1-P0 -> Light Sensor
  • MCU1-X1 -> Buzzer

Hints
  • Do the development in a darker room
  • The “Audiomaster Extreme” beeps with a high tone if you send the number ‘30’ over XBus
  • Use the TGT instruction

Solution

MCU1

tgt p0 50
+ mov 30 x0
slp 2