File tree Expand file tree Collapse file tree 6 files changed +16
-10
lines changed Expand file tree Collapse file tree 6 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3- from icm20948 import ICM20948
4- import time
5- import math
63import argparse
4+ import math
75import os
86import signal
97import sys
8+ import time
9+
10+ from icm20948 import ICM20948
1011
1112BAR_CHAR = u'\u2588 ' # Unicode FULL BLOCK
1213
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3- from icm20948 import ICM20948
4- from rgbmatrix5x5 import RGBMatrix5x5
5- from colorsys import hsv_to_rgb
6- import time
73import math
4+ import time
5+ from colorsys import hsv_to_rgb
6+
7+ from rgbmatrix5x5 import RGBMatrix5x5
8+
9+ from icm20948 import ICM20948
810
911print ("""magnetometer-to-rgb5x5.py - Convert heading to colour
1012
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3- from icm20948 import ICM20948
4- import time
53import math
4+ import time
5+
6+ from icm20948 import ICM20948
67
78print ("""magnetometer.py - Convert raw values to heading
89
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
33import time
4+
45from icm20948 import ICM20948
56
67print ("""read-all.py
Original file line number Diff line number Diff line change 1- import time
21import struct
2+ import time
33
44__version__ = '0.0.2'
55
Original file line number Diff line number Diff line change 11import sys
2+
23import mock
34import pytest
45
You can’t perform that action at this time.
0 commit comments