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: N5110 SRF02 mbed
main.h File Reference
Header file containing functions prototypes, defines and global variables. More...
Go to the source code of this file.
| Namespaces | |
| namespace | lcd | 
| lcd connections | |
| namespace | r_led1 | 
| r_led1 connections | |
| namespace | r_led2 | 
| r_led2 connections | |
| namespace | buzzer | 
| buzzer connections | |
| namespace | ticker | 
| make led flashes at 2HZ | |
| namespace | detect | 
| make sensor detect at 2HZ | |
| Functions | |
| SRF02 | sensor (PTE25, PTE24) | 
| namespace sensor | |
| void | timer_isr () | 
| Setting LED flahses at 2 HZ. | |
| void | detect_isr () | 
| Setting sensor detect at 2 HZ. | |
| void | drawCar (int x, int y) | 
| Drawing car at positon x and y. | |
| void | clearCar (int x, int y) | 
| Clear car at positon x and y. | |
| Variables | |
| volatile int | g_timer_flag = 0 | 
| volatile int | g_detect_timer_flag = 0 | 
| int | distanceArray [10] | 
Detailed Description
Header file containing functions prototypes, defines and global variables.
Shows examples of creating Doxygen documentation. Revision 1.0.
- Date:
- May 2016
Definition in file main.h.
Function Documentation
| void clearCar | ( | int | x, | 
| int | y | ||
| ) | 
| void drawCar | ( | int | x, | 
| int | y | ||
| ) | 
| SRF02 sensor | ( | PTE25 | , | 
| PTE24 | |||
| ) | 
namespace sensor
sensor connections
Variable Documentation
| int distanceArray[10] | 
| volatile int g_detect_timer_flag = 0 | 
| volatile int g_timer_flag = 0 | 
Generated on Thu Aug 18 2022 00:16:01 by
 1.7.2
 1.7.2