Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of DustSenzor by
DustSenzor.h
- Committer:
- mpuric
- Date:
- 2017-05-05
- Revision:
- 3:e382316d6d00
- Parent:
- 2:4c3bdadb6bc4
- Child:
- 5:fd42a3f8c7eb
File content as of revision 3:e382316d6d00:
#ifndef DUSTSENZOR_H
#define DUSTSENZOR_H
#include"mbed.h"
#include"TextLCD.h"
class DustSenzor{
    public:
        DustSenzor();
        
    private:
        Serial uart;
        I2C i2c_lcd;
        Serial pc;
        DigitalOut set;
        InterruptIn tipka;
        Timer debounce;
        unsigned char buff[32];
        bool provjera;
        int br;
        short PM1;
        short PM25;
        short PM10;
        float pm1;
        float pm25;
        float pm10;
        void mbedTOSenzor();
        void Ispis();
        void Racunanje();
        void modeSet();
        void Koeficijenti( unsigned char *, short *, short *, short *, float *, float *, float *);
    
};
#endif
    
            
    