dim a as byte, b as byte, c as byte
a = 250
b = a \ 16
c = a mod 16
debug.print hex(a), hex(b), hex(c)
反过来如何实现两个Byte组合成一个Byte?
a = 250
b = a \ 16
c = a mod 16
debug.print hex(a), hex(b), hex(c)
反过来如何实现两个Byte组合成一个Byte?
a=7 (a<=15,设它对应结果的高字节)
b=12 (b<=15)
c=a*16+b (结果)