Syntax highlighting in Squarespace 6

I held off switching to Squarespace 6 because of its lack of support for javascript-based syntax highlighters that I have used in Squarespace 5. I finally found a solution that may not be ideal but works. I am using Textmate 2 on the OS X that provides very nice syntax highlighting for most languages. Use […]

MatPlotLib running in Cocoa under Xcode

I have always been frustrated that python does not have a nice GUI builder similar to what XCode provides.  Since I am a scientist and engineer, I am really fond of the combination matplotlib/scipy/numpy.  Here I will give an example of how to combine the two using the python cocoa bridge that is build into […]

Sending Humidity and Temperature data with ZigBee

This is the solution that I posed to my senior design in Biomedical Engineering class (BME 440).  Over the last few weeks we covered basic Arduino programming (e.g. debounced toggle, DHT sensor), we did some basic ZigBee communication (AT mode).  The final project was to build a wireless Humidity, Temperature sensor that can transmit the […]

Arduino debounced toggle

I posed the following problem to my senior design class:  create an arduino sketch that toggles an LED with a button push ( similar to turning on/off a TV with one button).  The students quickly realized that they had to include a deboucing algorithm otherwise the boucing would result in a random on/off state.  Here […]