BARRAUX Arthur
2 years ago
2 changed files with 6 additions and 1 deletions
@ -0,0 +1,6 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
response = `i2cget -y 1 0x18 0x05` |
||||
|
upper_byte = $(($response & 0x00FF)) |
||||
|
echo response |
||||
|
echo upper_byte |
Loading…
Reference in new issue