// Stamp(x,y,tc,colorList) function stamp(x,y,tc,color){ function hex(n){ var a=(n>>4)&15;a=a+48+(a>9)*7; uart(chr(a)); a=n&15;a=a+48+(a>9)*7; uart(chr(a)," "); } uart("PC STAMP "); hex(x);hex(y);hex(tc); uart(color,"\n"); } // Sample Code uart("\nPC CLEAR 00\n"); stamp(0,0,0, "0123456789ABCDEF123456789ABCDEF023456789ABCDEF013456789ABCDEF012");