4 Commits

Author SHA1 Message Date
265c3b3b39 initial commit 2024-02-22 16:36:52 +01:00
6a1786ec9a Merge remote-tracking branch 'origin/develop' into develop 2024-02-22 16:34:46 +01:00
e3843db340 initial commit 2024-02-22 16:34:35 +01:00
da2a06b23a speedup servo little bit 2024-02-09 10:56:19 +01:00
2 changed files with 8 additions and 21 deletions

View File

@ -1,35 +1,22 @@
on:
push:
branches: [ master ]
branches:
- main
- develop
pull_request:
branches: [ master ]
branches:
- main
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
# - name: Cache pip
# uses: actions/cache@v3
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
# restore-keys: |
# ${{ runner.os }}-pip-
# # this cache the platformio binaries and not the .pio folder
# - name: Cache PlatformIO
# uses: actions/cache@v3
# with:
# path: ~/.platformio
# key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: https://github.com/actions/setup-python@v3
uses: actions/setup-python@v3
- name: Install PlatformIO
run: pip install platformio

View File

@ -77,7 +77,7 @@ Program::Program() {
lcdScreen = new M5LCD();
lcdScreen->add_log("Initialize M5LCD component....");
this->nfcReader = new NfcReader(NFC_ADDR);
this->servo = new ServoMotorComponent(2, 1, 1);
this->servo = new ServoMotorComponent(2, 1, 1.5);
this->servo->setDesiredPosition(Position::MIDDLE);
this->grbl = new GRBL(STEPMOTOR_I2C_ADDR);
this->outputReader = new BigNfcReader();