GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

analog.h

Committer:
spm71
Date:
2018-04-05
Revision:
53:389fe53b2642
Parent:
51:1eb60f0d2f03
Child:
56:048b30c9f2a1

File content as of revision 53:389fe53b2642:

/******************************************************************************
* EECS 397
*
* Assignment Name: Lab 6: WaG
* 
* Authors: Sam Morrison and Phong Nguyen 
* File name: analog.h
* Purpose: Header for analog functions
*
* Created: 03/20/2018
* Last Modified: 03/20/2018
*
******************************************************************************/
#ifndef ANALOG_H
#define ANALOG_H

#include "mbed.h"
#include "io_pins.h"

#define MUX_CHANS 16
#define PTTHRESH 2.0

void ana_init();
void ana_scan_mux(float * an_array, int no_of_channels);
void test_phototransistors ();

#endif