Ultrasonice Ranger Type Error

I connected ultrasonic ranger to D4 and run the grove_ultransonic.py. There is a type error. how do i solve it

Hi @bumcheeyu,

Can you show us the actual code you tried to run and the error code you got?

Thanks!