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

Timed based buffer #5

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

Timed based buffer #5

wants to merge 2 commits into from

Commits on Feb 2, 2019

  1. Added new methods to implement optional buffer to

    store analog port timed readings, instead of delay interruptions.
    
      public:
        Update
        isReading
        setUseDelay
        startRead
      private:
        initBuffer
        readBuffer
    
    Added variables
        bool useDelay;
        double *analogBuffer;
        unsigned int bufferId;
        long lastRead;
        bool enableRead;
    
    Added constructor to set delay or buffer option.
    Added example to use this library without delay() interruptions.
    Updated keywords.txt.
    Removed unused volatile variables (it does not use interrupts).
    oferreiro committed Feb 2, 2019
    Configuration menu
    Copy the full SHA
    8cae1ab View commit details
    Browse the repository at this point in the history
  2. Fix indentation issues.

    oferreiro committed Feb 2, 2019
    Configuration menu
    Copy the full SHA
    0c4d1f5 View commit details
    Browse the repository at this point in the history