add figure and add led for ping