Warning: Declaration of TCB_Menu_Walker::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, ...$args) in /home/circuitc/public_html/arduino/wp-content/plugins/thrive-leads/tcb/inc/classes/class-tcb-menu-walker.php on line 158

Warning: Cannot modify header information - headers already sent by (output started at /home/circuitc/public_html/arduino/wp-content/plugins/thrive-leads/tcb/plugin-core.php:103) in /home/circuitc/public_html/arduino/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher_Helper.php on line 77
October 2012 - Circuit Crush

Month: October 2012

Fun with Piezo’s

I’ve created a simple beeping alarm with a Piezo transducer. Connect the Piezo + to pin 9, and the Piezo – to Gnd. Run the following sketch. Next version will be using the tone() command to build a Morse Code trainer. /* Piezo  This example shows how to run a Piezo Buzzer on pin 9 using the analogWrite() function.  It beeps 3 times fast at startup, waits a second then beeps continuously at a slower pace  */void setup() {   // declare pin 9 to be an output:  pinMode(9, OUTPUT);  beep(50);  beep(50);  beep(50);  delay(1000);} void loop() { …

Fun with Piezo’s Read More »