Compare commits
No commits in common. "pylint-fixes" and "master" have entirely different histories.
pylint-fix
...
master
3 changed files with 5 additions and 5 deletions
|
|
@ -52,6 +52,7 @@ from micropython import const
|
|||
# Registers are defined below in the class. These are possible register values.
|
||||
|
||||
# Operating Modes
|
||||
# pylint: disable=bad-whitespace
|
||||
_NORMAL_MODE = const(0x00)
|
||||
_SLEEP_MODE = const(0x10)
|
||||
_STAND_BY_60 = const(0x20)
|
||||
|
|
@ -80,6 +81,7 @@ _PIXEL_ARRAY_WIDTH = const(8)
|
|||
_PIXEL_ARRAY_HEIGHT = const(8)
|
||||
_PIXEL_TEMP_CONVERSION = 0.25
|
||||
_THERMISTOR_CONVERSION = 0.0625
|
||||
# pylint: enable=bad-whitespace
|
||||
|
||||
|
||||
def _signed_12bit_to_float(val):
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ import os
|
|||
import math
|
||||
import time
|
||||
|
||||
import numpy as np
|
||||
import pygame
|
||||
import busio
|
||||
import board
|
||||
|
||||
import numpy as np
|
||||
import pygame
|
||||
from scipy.interpolate import griddata
|
||||
|
||||
from colour import Color
|
||||
|
|
@ -28,9 +28,7 @@ MAXTEMP = 32.0
|
|||
COLORDEPTH = 1024
|
||||
|
||||
os.putenv("SDL_FBDEV", "/dev/fb1")
|
||||
# pylint: disable=no-member
|
||||
pygame.init()
|
||||
# pylint: enable=no-member
|
||||
|
||||
# initialize the sensor
|
||||
sensor = adafruit_amg88xx.AMG88XX(i2c_bus)
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
import sys
|
||||
import math
|
||||
import time
|
||||
import numpy as np
|
||||
import busio
|
||||
import board
|
||||
import numpy as np
|
||||
from scipy.interpolate import griddata
|
||||
from colour import Color
|
||||
import adafruit_amg88xx
|
||||
|
|
|
|||
Loading…
Reference in a new issue