added LED code to tempnet_regd.py

this really needs to be moved to a separate file