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:
|
||||
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
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user