Skip to content

Commit

Permalink
Merge pull request #2 from Sensirion/create-gh-workflow
Browse files Browse the repository at this point in the history
adding github workflow
  • Loading branch information
psachs authored May 27, 2024
2 parents cffb948 + ac39225 commit b3e6dce
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 104 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/arduino_quality_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Quality check

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
arduino-quality:
uses: sensirion/.github/.github/workflows/driver.arduino.check.yml@main
with:
expect-arduino-examples: true
lint-lib-manager-check: update
10 changes: 10 additions & 0 deletions .github/workflows/github_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Github Release

on:
push:
tags:
- '*'

jobs:
github-release:
uses: sensirion/.github/.github/workflows/driver.common.github_release.yml@main
103 changes: 0 additions & 103 deletions .gitlab-ci.yml

This file was deleted.

4 changes: 3 additions & 1 deletion examples/exampleI2cAddressChange/exampleI2cAddressChange.ino
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ int16_t changeSensorAddress(TwoWire& wire, uint16_t newI2cAddress,
// switch mode to input and listen to the pulse the sensor
// sends 1500μs after the address change command to confirm the new I2C
// address
pinMode(sensorIrqPin, INPUT_PULLDOWN);
// If your platform supports INPUT_PULLDOWN you should use it instead of
// INPUT. This is e.g. the case for ESP32.
pinMode(sensorIrqPin, INPUT);
delayMicroseconds(500);
uint8_t success = 0;
uint16_t cnt = 0;
Expand Down
1 change: 1 addition & 0 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# driver generation metadata
generator_version: 0.32.0
model_version: 1.1.0
dg_status:
Expand Down

0 comments on commit b3e6dce

Please sign in to comment.