embedded_firmware/source/ATMEL_SAMD21G18A_WOOBS_FW/E201CBlue.cpp
/*
 * File:   E201CBlue.cpp
 * Author: Simon Olofsson
 * Program: Source file for driver module
 * Compiler: ARM-GCC 
 * Program Version 1.0
 * Program Description: This file contains source code
                        for the driver for the E201C-Blue
                        PH sensor. It provides a user interface
                        for developers that work with this device.
 *
 * Written on 2020-11-10, Simon Olofsson
 */
E201CBlue.cpp
Author: Simon Olofsson
Program: Source file for driver module
Compiler: ARM-GCC
Program Version 1.0
Program Description: This file contains source code
for the driver for the E201C-Blue
PH sensor. It provides a user interface
for developers that work with this device.

Written on 2020-11-10, Simon Olofsson
E201CBlue . cpp Author : Simon Olofsson Program : Source file for driver module Compiler : ARM - GCC Program Version 1 . 0 Program Description : This file contains source code for the driver for the E201C - Blue PH sensor . It provides a user interface for developers that work with this device . Written on 2020 - 11 - 10 Simon Olofsson
E201C::E201C(float referenceVoltage, uint32_t sensorMaxValue, 
             float phRef1, float phRef2, uint8_t channel)
{
    this->referenceVoltage = referenceVoltage;
    this->sensorMaxValue = sensorMaxValue;
    this->phRef1 = phRef1;
    this->phRef2 = phRef2;
    this->channel = channel;
    this->kValue = this->GetKValue();
    this->deviationOffset = this->GetDeviationOffset();
}
E201C :: E201C ( float referenceVoltage , uint32_t sensorMaxValue , float phRef1 , float phRef2 , uint8_t channel ) { this -> referenceVoltage = referenceVoltage ; this -> sensorMaxValue = sensorMaxValue ; this -> phRef1 = phRef1 ; this -> phRef2 = phRef2 ; this -> channel = channel ; this -> kValue = this -> GetKValue ( ) ; this -> deviationOffset = this -> GetDeviationOffset ( ) ; }
File:   E201CBlue.cpp
 Author: Simon Olofsson
 Program: Source file for driver module
 Compiler: ARM-GCC
 Program Version 1.0
 Program Description: This file contains source code
for the driver for the E201C-Blue
PH sensor.
File : E201CBlue . cpp Author : Simon Olofsson Program : Source file for driver module Compiler : ARM - GCC Program Version 1 . 0 Program Description : This file contains source code for the driver for the E201C - Blue PH sensor .