mirror of
https://github.com/kevinveenbirkenbach/erinaco.git
synced 2024-11-27 16:31:03 +01:00
14 lines
330 B
Python
14 lines
330 B
Python
|
import RPi.GPIO as GPIO
|
||
|
from motion import Motion as MOTION
|
||
|
"""
|
||
|
Diese Klasse stellt alle Core-Funktionen (Aktoren, Sensoren) fuer den Erinaco Roboter zur Verfuegung.
|
||
|
@author kf
|
||
|
@since 2017-04-15
|
||
|
"""
|
||
|
class Core(MOTION):
|
||
|
def __init__(self):
|
||
|
GPIO.setmode(GPIO.BCM);
|
||
|
MOTION.__init__(self);
|
||
|
def __del__(self):
|
||
|
GPIO.cleanup();
|