Finished code for zedboard (gets and sets number based off of zedboard state)