GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

analog.h

Committer:
spm71
Date:
2018-04-03
Revision:
51:1eb60f0d2f03
Parent:
49:80d4ffabec16
Child:
53:389fe53b2642

File content as of revision 51:1eb60f0d2f03:

/******************************************************************************
* 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 0.7

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

#endif