void delayus (uint32_t microseconds)
{
uint32_t overflows;
uint32_t partial;
overflows = microseconds/65535;
partial = microseconds - overflow * 65535;
}