GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers analog.h Source File

analog.h

00001 /******************************************************************************
00002 * EECS 397
00003 *
00004 * Assignment Name: Lab 6: WaG
00005 * 
00006 * Authors: Sam Morrison and Phong Nguyen 
00007 * File name: analog.h
00008 * Purpose: Header for analog functions
00009 *
00010 * Created: 03/20/2018
00011 * Last Modified: 04/06/2018
00012 *
00013 ******************************************************************************/
00014 #ifndef ANALOG_H
00015 #define ANALOG_H
00016 
00017 #include "mbed.h"
00018 #include "io_pins.h"
00019 
00020 #define MUX_CHANS 16
00021 #define PTTHRESH 0.7 /// previously 2.0
00022 
00023 void ana_init();
00024 void ana_scan_mux(float * an_array, int no_of_channels);
00025 void test_phototransistors ();
00026 
00027 #endif