start of netled program. stops working after a little bit for some reason.