Created delay functions that are decently accurate and migrated test_leds to use these delays... also added in typedefs for uint and uint8