kuukar OOP structure

This commit is contained in:
Siwat Sirichai 2022-10-22 19:39:10 +07:00
commit 94720a74ce
12 changed files with 26 additions and 0 deletions

4
kuukar.py Normal file
View File

@ -0,0 +1,4 @@
from telemetrix_rpi_pico import telemetrix_rpi_pico
if __name__ == '__main__':
board = telemetrix_rpi_pico.TelemetrixRpiPico()
pass

5
kuukar_collision.py Normal file
View File

@ -0,0 +1,5 @@
class collision:
def __init__(self, board) -> None:
def collision_handle(self):
pass

8
kuukar_config.py Normal file
View File

@ -0,0 +1,8 @@
COLLISION_DETECTOR_PIN = 2
LEDS_DATA_PIN = 3
MOTOR_FL_F = 4
MOTOR_FL_R = 5
MOTOR_FR_F = 6
MOTOR_FL_R = 7
MOTOR_R_F = 8
MOTOR_R_R = 9

3
kuukar_cv.py Normal file
View File

@ -0,0 +1,3 @@
class cv:
def detectFace(self, image):
pass

0
kuukar_lcd.py Normal file
View File

2
kuukar_leds.py Normal file
View File

@ -0,0 +1,2 @@
class leds:
pass

0
kuukar_motion.py Normal file
View File

0
kuukar_noise.py Normal file
View File

0
kuukar_sensors.py Normal file
View File

2
kuukar_temperature.py Normal file
View File

@ -0,0 +1,2 @@
class temperature:
pass

0
kuukar_voice.py Normal file
View File

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
telemetrix-rpi-pico
pyaudio