Program that combines a linefollower program with visible ligt communication.

Dependencies:   m3pi_custom mbed

analoog.h

Committer:
bertgereels
Date:
2018-05-16
Revision:
2:21fb894dc9d6
Parent:
1:243ec35fafcd

File content as of revision 2:21fb894dc9d6:

#include "mbed.h"
#include "m3pi.h"

#pragma once 


namespace ProjectTwo{
    
    class AnalogReader{
        public:
            /*
            * Constructor for AnalogReader class.
            *
            @param Nothing.
            @return Nothing.
            */
            AnalogReader(void);
            
            /*
            * Method that reads the voltage from the photodiode underneath the robot.
            *
            @param Nothing.
            @return The voltage as a float.
            */
            float getVoltage(void);
        private:


    };
};