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 WaG by
laser.h@42:6cba679a4ee4, 2018-03-29 (annotated)
- Committer:
- spm71
- Date:
- Thu Mar 29 15:51:52 2018 +0000
- Revision:
- 42:6cba679a4ee4
Added laser functions
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| spm71 | 42:6cba679a4ee4 | 1 | /****************************************************************************** |
| spm71 | 42:6cba679a4ee4 | 2 | * EECS 397 |
| spm71 | 42:6cba679a4ee4 | 3 | * |
| spm71 | 42:6cba679a4ee4 | 4 | * Assignment Name: Lab 6: WaG |
| spm71 | 42:6cba679a4ee4 | 5 | * |
| spm71 | 42:6cba679a4ee4 | 6 | * Authors: Sam Morrison and Phong Nguyen |
| spm71 | 42:6cba679a4ee4 | 7 | * File name: laser.h |
| spm71 | 42:6cba679a4ee4 | 8 | * Purpose: Header for laser functions |
| spm71 | 42:6cba679a4ee4 | 9 | * |
| spm71 | 42:6cba679a4ee4 | 10 | * Created: 03/29/2018 |
| spm71 | 42:6cba679a4ee4 | 11 | * Last Modified: 03/29/2018 |
| spm71 | 42:6cba679a4ee4 | 12 | * |
| spm71 | 42:6cba679a4ee4 | 13 | ******************************************************************************/ |
| spm71 | 42:6cba679a4ee4 | 14 | #ifndef LASER_H |
| spm71 | 42:6cba679a4ee4 | 15 | #define LASER_H |
| spm71 | 42:6cba679a4ee4 | 16 | |
| spm71 | 42:6cba679a4ee4 | 17 | #include "mbed.h" |
| spm71 | 42:6cba679a4ee4 | 18 | #include "io_pins.h" |
| spm71 | 42:6cba679a4ee4 | 19 | |
| spm71 | 42:6cba679a4ee4 | 20 | void lzr_off(); |
| spm71 | 42:6cba679a4ee4 | 21 | void lzr_on(); |
| spm71 | 42:6cba679a4ee4 | 22 | void lzr_init(); |
| spm71 | 42:6cba679a4ee4 | 23 | |
| spm71 | 42:6cba679a4ee4 | 24 | #endif |
