This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from firebase_admin import initialize_app | |
from firebase_admin.credentials import Certificate | |
from firebase_admin import App | |
from firebase_admin.auth import create_user | |
from os.path import abspath | |
from firebase_admin import firestore | |
from datetime import datetime | |
from datetime import UTC | |
from firebase_admin._user_mgt import UserRecord |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Imports | |
import pyfirmata | |
from time import sleep | |
# Board Code | |
board = pyfirmata.ArduinoMega('/dev/tty.usbmodem1301') | |
print("Communication Successfully Started") | |
# Pin Variables | |
PWM1 = board.get_pin('d:4:p') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "esp_camera.h" | |
#include <WiFi.h> | |
#include "esp_timer.h" | |
#include "img_converters.h" | |
#include "Arduino.h" | |
#include "fb_gfx.h" | |
#include "soc/soc.h" | |
#include "soc/rtc_cntl_reg.h" | |
#include "esp_http_server.h" |