Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

int from bytes -> Error -> name "big" ist nicht definiert (CORE2 UIFLOW V1.7.2 #36

Open
PatrikRindlisbacher opened this issue Feb 10, 2021 · 0 comments
Assignees

Comments

@PatrikRindlisbacher
Copy link

PatrikRindlisbacher commented Feb 10, 2021

Error --> name "big" isnt defined --> On Display CORE2
Command int from bytes (in Register Math)

Modul CORE2 1.7.2 with UIFLOW V1.7.2

image

Python: I2C = int.from_bytes((i2c0.read(1)), big)

------------DOC ---------------- https://docs.python.org/3/library/sys.html#sys.byteorder
sys.byteorder
An indicator of the native byte order. This will have the value 'big' on big-endian (most-significant byte first) platforms, and 'little' on little-endian (least-significant byte first) platforms.

@Tinyu-Zhao Tinyu-Zhao assigned Tinyu-Zhao and imliubo and unassigned Tinyu-Zhao Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants