Skip to content

AFCMS/devpet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevPet

PlatformIO CI

Design

flowchart TD
    subgraph graphical_elements[Graphical Elements]
    Node2D -.-> Rect
    Node2D -.-> ProgressBar
    Node2D -.-> SpriteAnimated
    Node2D -.-> SpriteBar
    Node2D -.-> SpriteStatic
    Node2D -.-> TextScrolling
    Node2D -.-> Text
    end

    graphical_elements --> DisplaySystem
    graphical_elements --> DevPetGraphics

    subgraph manager_classes[Manager Classes]
    DevPet --> DevPetGraphics
    DevPetGraphics --> DisplaySystem
    end

    subgraph input[Input]
    Button
    CommSystem
    end

    subgraph body[Body]
    loop
    end

    loop --> DevPet
    Button --> loop
    CommSystem <--> loop

    subgraph hardware[Hardware]
    SSD1306
    serial_port[Serial Port]
    end

    serial_port <--> CommSystem
    DisplaySystem --> SSD1306
Loading

Run the project

Install PlatformIO

The project depends on the PlatformIO toolkit.

You can either install the VSCode extension or the CLI

Build

platformio run

Upload on the ESP32

Make sure the ESP32 is connected to the computer and the USB port is accessible.

platformio run --target upload