Has code added to initalize analog sensor as well as read the value. Appears to be working.