Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic arduino port of PULSOXYv0.0.1 #8

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Commits on Mar 14, 2020

  1. arduino-pulsoxy: Import C sources from PULSOXYv0.0.1

    Copy .c and .h files from Driver/ Include/ Util/ and
    main.c from the original project. Put everything in
    one directory for the Arduino IDE to find everything.
    
    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    6f6a300 View commit details
    Browse the repository at this point in the history
  2. arduino-pulsoxy: Remove unused files

    CFile1.c and init_ADC.c do not contribute to the project.
    Remove these files. Also remove init_ADC.h header file.
    All ADC related functions are already declared and implemented
    in the ADC.c/.h files.
    
    Signed-off-by: Stefan Nuernberger <[email protected]>
    
    Remove init_ADC.h header
    
    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    8a917c2 View commit details
    Browse the repository at this point in the history
  3. arduino-pulsoxy: Rename main.c to Arduino project file

    The .ino should have the same name as the containing
    folder for the Arduino IDE to recognize it.
    
    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    95bbd08 View commit details
    Browse the repository at this point in the history
  4. arduino-pulsoxy: Fix F_CPU redefined warnings

    F_CPU is usually already defined by the project makefile.
    
    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    63ec353 View commit details
    Browse the repository at this point in the history
  5. arduino-pulsoxy: Include headers as extern "C"

    Prevent C++ name mangling when reading these functions.
    
    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    ce10c3d View commit details
    Browse the repository at this point in the history
  6. arduino-pulsoxy: Fix typo

    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    624de24 View commit details
    Browse the repository at this point in the history
  7. arduino-pulsoxy: Fix type mismatch in redeclaration

    These are ADC values that are used as signed int16 in the code.
    
    Signed-off-by: Hannes Seidel <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    5f9f8b1 View commit details
    Browse the repository at this point in the history
  8. arduino-pulsoxy: Fix missing newline in all files

    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    c17c40f View commit details
    Browse the repository at this point in the history
  9. arduino-pulsoxy: Add README file

    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    7d27f53 View commit details
    Browse the repository at this point in the history
  10. arduino-pulsoxy: Use setup() and loop() functions

    Split the main() function into setup() and loop() for classical
    Arduino feeling. Arduino will provide a main() that calls those.
    
    Signed-off-by: Stefan Nuernberger <[email protected]>
    seihan authored and snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    36ef3f7 View commit details
    Browse the repository at this point in the history
  11. arduino-pulsoxy: Fix trailing whitespace in all files

    Signed-off-by: Stefan Nuernberger <[email protected]>
    snue committed Mar 14, 2020
    Configuration menu
    Copy the full SHA
    c90b6d6 View commit details
    Browse the repository at this point in the history