Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 2.06 KB

README.md

File metadata and controls

41 lines (24 loc) · 2.06 KB

Halloweenicorn 💀🎃🧛‍♂️👻

Pimoroni Cosmic Unicorn Halloween themed, PIR enabled scarer.

video_demo2.mp4

What is it?

A micropython script for Pimoroni's Cosmic Unicorn that displays a randomly picked face anim from PNG spritesheet and play a sound (evil laugh) upon detection from the PIR sensor

facesxl

Dependencies

Description of files

  • pir_pngandsound.py main micropython script
  • [laughs] Laughs directory with the 4 wav files (You can change these to your own, make sure they are mono, 16-bit, 22050Hz)
  • faces.png This the PNG spritesheet of four faces 32x32 pixels per frame

Hardware requirements

pir1 | pir2