1
0
mirror of https://github.com/SMFSW/cI2C synced 2025-05-19 10:52:37 +02:00

Custom badges

GIST added in README.md
Create build-badges.yml
This commit is contained in:
SMFSW 2025-05-06 23:55:34 +02:00
parent 07a99be69e
commit 6ab8c5bb62
2 changed files with 32 additions and 11 deletions

21
.github/workflows/build-badges.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Build custom repository badges
on: [push]
jobs:
create_badges:
name: create_gist_badges
runs-on: ubuntu-latest
steps:
- name: Create repository activity badge
uses: schneegans/dynamic-badges-action@v1.7.0
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: a9a2b2a02fda1b33461d53ddfe69d649
filename: cI2C_status_badge.json
label: "Status"
message: ${{ vars.REPO_STATUS }}
color: ${{ vars.REPO_STATUS_COLOR }}

View File

@ -1,4 +1,14 @@
# cI2C [![CodeFactor](https://www.codefactor.io/repository/github/smfsw/ci2c/badge)](https://www.codefactor.io/repository/github/smfsw/ci2c)
# cI2C
[![author](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/auth_SMFSW.json)](https://github.com/SMFSW)
![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/cI2C_status_badge.json)
[![license](https://img.shields.io/badge/License-MIT-darkred.svg)](LICENSE)
[![CodeFactor](https://www.codefactor.io/repository/github/smfsw/ci2c/badge)](https://www.codefactor.io/repository/github/smfsw/ci2c)
![platform](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/platform_INO.json)
[![doxy](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/tool_DOXY.json)](https://smfsw.github.io/cI2C)
[![re_note](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/tool_RN.json)](ReleaseNotes.md)
Arduino Hardware I2C for AVR (plain c)
@ -67,16 +77,6 @@ following examples should work with any I2C EEPROM/FRAM with address 0x50
* [ci2c_master_read.ino](examples/ci2c_master_read/ci2c_master_read.ino): Read some bytes in FRAM
* [ci2c_advanced.ino](examples/ci2c_advanced/ci2c_advanced.ino): Redirecting slave write & read functions (to custom functions following typedef)
## Documentation
Doxygen doc can be generated using "Doxyfile".
See [generated documentation](https://smfsw.github.io/cI2C/)
## Release Notes
See [release notes](ReleaseNotes.md)
## See also
**cI2C**