Files
pi-dro/.github/copilot-instructions.md
2026-03-24 20:32:07 +01:00

1.4 KiB

applyTo
applyTo
**

Project general

  • Digital Read Out for a lathe
  • Uses 2 rotary encoders to keep track of lathe tool location
  • Code base is a mix of C++ Arduino code and python
  • The main python application is deployed on Raspberry Pi
  • Architectural pattern, the main application uses MVC
  • the main application reads rotary encoder location from Arduino via i2c
  • Documentation standards: Use clear and concise language, include code examples where applicable, and maintain consistent formatting throughout the documentation.
  • Try to follow the DRY and KISS principles

Project structure

  • i2c_encoder/ : arduino application for reading encoder position and transitting via i2c RPi/ : fake python module for testing on PC

Tech stack in use

  • Raspberry Pi 4
  • Tkinter front-end
  • Arduino Nano

Custom instructions

Instruction Description
Code review Generic code review instructions that can be customized for any project using GitHub Copilot
C++ Language specific instructions for C++
Python Language specific instructions for Python
Documentation Generall instructions when writing documentation
Shell Generall instructions when writing shell scripts