GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

analog.h

Committer:
spm71
Date:
2018-04-27
Revision:
78:84ce90a76594
Parent:
72:aec869655869

File content as of revision 78:84ce90a76594:

/******************************************************************************
* 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: 04/06/2018
*
******************************************************************************/
#ifndef ANALOG_H
#define ANALOG_H

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

#define MUX_CHANS 16
#define PTTHRESH 0.7 /// previously 2.0

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

#endif