commit 94720a74ce59348c52dcdf8a64ca0c28e6612d7d Author: Siwat Sirichai Date: Sat Oct 22 19:39:10 2022 +0700 kuukar OOP structure diff --git a/kuukar.py b/kuukar.py new file mode 100644 index 0000000..49e3500 --- /dev/null +++ b/kuukar.py @@ -0,0 +1,4 @@ +from telemetrix_rpi_pico import telemetrix_rpi_pico +if __name__ == '__main__': + board = telemetrix_rpi_pico.TelemetrixRpiPico() + pass \ No newline at end of file diff --git a/kuukar_collision.py b/kuukar_collision.py new file mode 100644 index 0000000..d674fcc --- /dev/null +++ b/kuukar_collision.py @@ -0,0 +1,5 @@ +class collision: + def __init__(self, board) -> None: + + def collision_handle(self): + pass \ No newline at end of file diff --git a/kuukar_config.py b/kuukar_config.py new file mode 100644 index 0000000..b7cf994 --- /dev/null +++ b/kuukar_config.py @@ -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 \ No newline at end of file diff --git a/kuukar_cv.py b/kuukar_cv.py new file mode 100644 index 0000000..ef3701d --- /dev/null +++ b/kuukar_cv.py @@ -0,0 +1,3 @@ +class cv: + def detectFace(self, image): + pass \ No newline at end of file diff --git a/kuukar_lcd.py b/kuukar_lcd.py new file mode 100644 index 0000000..e69de29 diff --git a/kuukar_leds.py b/kuukar_leds.py new file mode 100644 index 0000000..e35688a --- /dev/null +++ b/kuukar_leds.py @@ -0,0 +1,2 @@ +class leds: + pass \ No newline at end of file diff --git a/kuukar_motion.py b/kuukar_motion.py new file mode 100644 index 0000000..e69de29 diff --git a/kuukar_noise.py b/kuukar_noise.py new file mode 100644 index 0000000..e69de29 diff --git a/kuukar_sensors.py b/kuukar_sensors.py new file mode 100644 index 0000000..e69de29 diff --git a/kuukar_temperature.py b/kuukar_temperature.py new file mode 100644 index 0000000..f8bdcbc --- /dev/null +++ b/kuukar_temperature.py @@ -0,0 +1,2 @@ +class temperature: + pass \ No newline at end of file diff --git a/kuukar_voice.py b/kuukar_voice.py new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..195ca31 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +telemetrix-rpi-pico +pyaudio \ No newline at end of file