Reflect change in library

This commit is contained in:
Dave Astels 2019-02-24 16:46:48 -05:00
parent 600e086ace
commit 4e525f160a

View file

@ -15,7 +15,7 @@ All text above must be included in any redistribution.
import os
from math import cos, sin, pi, floor
import pygame
from adafruit_circuitpython_rplidar import CPythonRPLidar
from adafruit_circuitpython_rplidar import RPLidar
# Set up pygame and the display
os.putenv('SDL_FBDEV', '/dev/fb1')
@ -27,7 +27,7 @@ pygame.display.update()
# Setup the RPLidar
PORT_NAME = '/dev/ttyUSB0'
lidar = CPythonRPLidar(PORT_NAME)
lidar = RPLidar(PORT_NAME)
# used to scale data to fit on the screen
max_distance = 0