Code / Program for Smoothly Fading of many RGB colours using an Arduino PWM and a non blocking program! I decided I’d bang this together quickly for anyone interested. It uses a non blocking style program by counting out timers to run functions on time and only when needed. I hope it is easy to follow.
How to use get_userdata and get_currentuserinfo with wordpress pluggin code.
Debouncing buttons can be a major issue for novice programmers, for something that seems so simple (Just put in a button!) it can be hours of pulling your hair out. Typically a button is partially debounced using hardware but what if you just want the ability to get rid of those false presses or stop […]
So you want to meassure temperature of something using an Arduino product. By far the cheapest way to do this is by using a 10k Ohm NTC Thermal Resistor divider circuit and an analog pin on an Arduino! The Circuit will be something like this image. The idea is to pull GND through the variable […]
UPDATE! See my updated version of this code here I was just messing around with some cheap RGB Leds I got off ebay and decided to replicate the smooth colour changing I seen on some Ikea lamp a while back… There are more complicated ways of doing this with less program “bloat”, for lack of […]
A while back I posted a fix to stop wordpress from removing / cleaning html code in posts and pages. In later versions of WordPress this fix was rendered useless so I’ve found another solution and here it is. Install the Plugin TinyMCE Advanced from your WP Admin area. Then in it’s main settings page check […]