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: TSI USBDevice mbed-dev
Fork of SmartWheels by
StateMachine/StateManager.h
- Committer:
- hazheng
- Date:
- 2017-04-18
- Branch:
- Drift
- Revision:
- 82:992ba6f31e24
- Parent:
- 80:c85cb93713b3
- Child:
- 84:2c22d01e8ae9
File content as of revision 82:992ba6f31e24:
#pragma once
#ifndef STATE_MANAGER_H
#define STATE_MANAGER_H
#include <mbed.h>
class States;
#define STANDBY_STATE 0
#define RUNNING_STATE 1
#define TESTING_STATE 2
//void state_manager_set_current_state(States* stat);
//void state_manager_clear_current_state();
void state_manager_update(float deltaTime);
void state_manager_switch_state(uint8_t state);
#endif //STATE_MANAGER_H
