void testSlewRate(){ gpio_set_drive_strength(GPIO5,GPIO_DRIVE_STRENGTH_2MA) ; while(1){ gpio_set_slew_rate(GPIO5,GPIO_SLEW_RATE_FAST) ; gpio_put(GPIO5,1) ; busy_wait_at_least_cycles(50) ; gpio_put(GPIO5,0) ; busy_wait_at_least_cycles(50) ; gpio_set_slew_rate(GPIO5,GPIO_SLEW_RATE_SLOW) ; gpio_put(GPIO5,1) ; busy_wait_at_least_cycles(50) ; gpio_put(GPIO5,0) ; busy_wait_at_least_cycles(50) ; } }