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