Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据Arduino参考:
lowByte 提取变量的低位(最右边)字节
如何使用 Python (2.7) 复制这种行为?
lowByte = lambda b: b & 0xff
def lowByte x: return (x % 256)
这应该做你(至少看起来)想要的。