update 2012 Q2 diagram
update 2013 Q1 simulation
add pinMode for LEDs
add log2 function