From 547675c04022235738107db3009faf35e2428d3e Mon Sep 17 00:00:00 2001 From: Akil M Hylton Date: Fri, 7 Aug 2020 21:26:38 -0400 Subject: [PATCH 1/4] Update README.md Added docs website build badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 27b8e7c..a6235cd 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ ![panflute tests](https://github.com/COVID-19-electronic-health-system/PanFLUte/workflows/panflute%20tests/badge.svg) +[![Netlify Status](https://api.netlify.com/api/v1/badges/1d36eea6-7947-41e3-bcce-38e6f9446aee/deploy-status)](https://app.netlify.com/sites/panflute-docs/deploys) PanFLUte (Pneumonia analyzing node for FLU to everyone) is an open source spirometer. It is used to measures the amount of air you're able to breathe in and out. From 88b92422b3704597b2a232f18da5498ce96794af Mon Sep 17 00:00:00 2001 From: akilhylton Date: Fri, 7 Aug 2020 21:36:02 -0400 Subject: [PATCH 2/4] Cleaned up documentation for libraries --- board/adc/adc.c | 10 +++------- board/mpx5100/mpx5100.c | 2 +- board/usart/usart.c | 3 ++- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/board/adc/adc.c b/board/adc/adc.c index decb9b5..a400b78 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -1,22 +1,17 @@ #include "../driver/adc.h" - - - /** @defgroup group1 TinyADC Library * This is a minimal ADC Library with init and read functions only. * @{ */ -/** @brief class C1 in group 1 */ - +/** Enables ADC. */ void adcInit(void) { - /// Enables ADC. ADCSRA = (1 << ADEN) | (1 << ADSC); } +/** Returns calibrated adc values.*/ float adcRead(void) { - /// Returns calibrated adc values. float sum = 0; // Sum of averaged adc values int adc_values_arr[N]; for (int i = 0; i < N; i++) { @@ -30,3 +25,4 @@ float adcRead(void) { return calibrated_adc_value; } +/** @} */ // end of group1 diff --git a/board/mpx5100/mpx5100.c b/board/mpx5100/mpx5100.c index 8448f77..1c08ea7 100644 --- a/board/mpx5100/mpx5100.c +++ b/board/mpx5100/mpx5100.c @@ -2,7 +2,7 @@ /** @defgroup group2 MPX5100 Library - * This is library interfaces with the mpx5100. + * This library interfaces with the MPX5100. * @{ */ diff --git a/board/usart/usart.c b/board/usart/usart.c index 7dd56a1..59bc181 100644 --- a/board/usart/usart.c +++ b/board/usart/usart.c @@ -38,4 +38,5 @@ int print(char c, FILE *stream) { UDR0 = c; return 0; } - + +/** @} */ // end of group3 From d56d62082924fe987f55aade38259d70049fa04c Mon Sep 17 00:00:00 2001 From: Akil M Hylton Date: Fri, 7 Aug 2020 21:46:06 -0400 Subject: [PATCH 3/4] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a6235cd..6f1a31e 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,9 @@ It is used to measures the amount of air you're able to breathe in and out. 2. ```docker build -t panflute:1.0 .``` 3. ```docker run --rm -it --privileged -v /dev/bus/usb:/dev/bus/usb panflute:1.0``` 4. You should now be greeted with a terminal environment, which has all the necessary libraries needed to compile and flash the firmware. + +Directory Structure +------ + . + ├── board # Code that runs on the ATtiny841 + └── doc # Doxygen documentation folder From 7defde357618320036877dcf055540bed3ff6edc Mon Sep 17 00:00:00 2001 From: Akil M Hylton Date: Fri, 7 Aug 2020 21:49:28 -0400 Subject: [PATCH 4/4] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6f1a31e..bd3aa24 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,7 @@ Directory Structure . ├── board # Code that runs on the ATtiny841 └── doc # Doxygen documentation folder + +## Licensing + +This repository and all contributions herein are [licensed under the MIT license](./LICENSE). Please note that, by contributing to this repository, whether via commit, pull request, issue, comment, or in any other fashion, you are explicitly agreeing that all of your contributions will fall under the same permissive license.