A motorized fader program for the ATtiny13A uC.
Go to file
jakeg00dwin 3fe9f67ade Updated with instructions on usage for development. 2025-02-12 16:55:30 -08:00
.template_files Initial commit 2025-02-10 18:25:49 +00:00
build Initial commit 2025-02-10 18:25:49 +00:00
docs Initial commit 2025-02-10 18:25:49 +00:00
inc updated motor move to function signiture 2025-02-12 14:53:11 -08:00
mocks Initial commit 2025-02-10 18:25:49 +00:00
src removed delay line from code 2025-02-12 15:45:33 -08:00
tests Initial commit 2025-02-10 18:25:49 +00:00
.gitignore ignore my dev notes. 2025-02-10 10:59:03 -08:00
.gitmodules Initial commit 2025-02-10 18:25:49 +00:00
CMakeLists.txt changed version number 2025-02-12 15:10:06 -08:00
Doxyfile Initial commit 2025-02-10 18:25:49 +00:00
README.md Updated with instructions on usage for development. 2025-02-12 16:55:30 -08:00
avr-gcc-toolchain.cmake changed the F_CPU speed 2025-02-12 15:56:40 -08:00
compile_commands.json Initial commit 2025-02-10 18:25:49 +00:00
otto.sh Added test runner options 2025-02-12 11:08:45 -08:00
setup.sh Initial commit 2025-02-10 18:25:49 +00:00

README.md

Motorized Fader

Description

Program for the ATtiny13A that controls a motorized fader by moving into a saved position read out of EEPROM memory.

Requirements

Hadware:

  • ATtiny13A/ATtiny45/ATtiny85.
  • usbasp programmer.
  • UNIX computer(to use the scripts for automation).

Software:

  • avr-gcc
  • avrdude(<=7.0)
  • CMAKE(<= 3.20)

Instructions

Building Hex Files

Builds the binary hex files. They are located in the build/src/ directory found in the project root.

cd ./<PROJECTNAME>
echo "2" | ./otto.sh

Automated Flashing Hex Files

Builds then flashes the binary hex files onto the micro-controller

cd ./<PROJECTNAME>
echo "4" | ./otto.sh

Running Tests

The code below will run the cpputest tests in verbose and color mode.

cd ./<PROJECTNAME>
echo "1" | ./otto.sh