Compare commits
4 Commits
1d1874872b
...
develop
Author | SHA1 | Date | |
---|---|---|---|
265c3b3b39 | |||
6a1786ec9a | |||
e3843db340 | |||
da2a06b23a |
27
.github/workflows/test_build.yml
vendored
27
.github/workflows/test_build.yml
vendored
@ -1,35 +1,22 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- main
|
||||||
|
- develop
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- main
|
||||||
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout project
|
- name: Checkout project
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Set up Python
|
||||||
uses: https://github.com/actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
|
|
||||||
- name: Install PlatformIO
|
- name: Install PlatformIO
|
||||||
run: pip install platformio
|
run: pip install platformio
|
||||||
|
@ -77,7 +77,7 @@ Program::Program() {
|
|||||||
lcdScreen = new M5LCD();
|
lcdScreen = new M5LCD();
|
||||||
lcdScreen->add_log("Initialize M5LCD component....");
|
lcdScreen->add_log("Initialize M5LCD component....");
|
||||||
this->nfcReader = new NfcReader(NFC_ADDR);
|
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->servo->setDesiredPosition(Position::MIDDLE);
|
||||||
this->grbl = new GRBL(STEPMOTOR_I2C_ADDR);
|
this->grbl = new GRBL(STEPMOTOR_I2C_ADDR);
|
||||||
this->outputReader = new BigNfcReader();
|
this->outputReader = new BigNfcReader();
|
||||||
|
Reference in New Issue
Block a user