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: Servo mbed-rtos mbed
Diff: car_config.hpp
- Revision:
- 0:ce6055872f4e
- Child:
- 1:79b1ee0f97ef
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/car_config.hpp Sun Aug 02 12:55:33 2015 +0000 @@ -0,0 +1,35 @@ +#ifndef __CAR_CONFIG_H__ +#define __CAR_CONFIG_H__ + +//#include "mbed.h" + +#include "common_types.h" +#include "net.hpp" +#include "eeprom.hpp" + +#define SW_VERSION 1 +#define DD_VERSION 1 + +/****************************************** + * CAR CONFIG + ******************************************/ + +#define EEPROM_DATA_SW_VERS 0 +#define EEPROM_DATA_DD_VERS 1 +#define EEPROM_DATA_NSTARTS 2 +#define EEPROM_DATA_TO_MISS 3 +#define EEPROM_DATA_MIN_PWM 4 +#define EEPROM_DATA_MAX_PWM 5 +#define EEPROM_DATA_ENG_MIS 6 +#define EEPROM_DATA_BDY_MIS 7 + +//extern const t_eeprom_data eeprom_data[]; + +#define PAGESIZE 64 +#define PAGENUMBER 4096 + +/********************* + * HW CONFIG + *********************/ + +#endif //__CAR_CONFIG_H__