here is my example:
https://www.picbasic.co.uk/forum/content.php/570-TM1637-Seven-Segment-LED-Display-with-PicBasic-Pro