Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Lab_6_WaG by
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
