Biorobotics
/
piano_robot
newest version,
check_state_change.h@0:fc6fa085d591, 2015-10-23 (annotated)
- Committer:
- NickDGreg
- Date:
- Fri Oct 23 13:14:57 2015 +0000
- Revision:
- 0:fc6fa085d591
move_motor compiles, working on filter. Cannot pass AnalogIn as input, says no default constructor. Cannot pass as pinName as analogIn declared in constructor cannot be seen by methods; ;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
NickDGreg | 0:fc6fa085d591 | 1 | /* |
NickDGreg | 0:fc6fa085d591 | 2 | * check_state_change.h |
NickDGreg | 0:fc6fa085d591 | 3 | * |
NickDGreg | 0:fc6fa085d591 | 4 | * Created on: Oct 20, 2015 |
NickDGreg | 0:fc6fa085d591 | 5 | * Author: User |
NickDGreg | 0:fc6fa085d591 | 6 | */ |
NickDGreg | 0:fc6fa085d591 | 7 | |
NickDGreg | 0:fc6fa085d591 | 8 | #ifndef CHECK_STATE_CHANGE_H_ |
NickDGreg | 0:fc6fa085d591 | 9 | #define CHECK_STATE_CHANGE_H_ |
NickDGreg | 0:fc6fa085d591 | 10 | |
NickDGreg | 0:fc6fa085d591 | 11 | double threashold_on; |
NickDGreg | 0:fc6fa085d591 | 12 | double threashold_off; |
NickDGreg | 0:fc6fa085d591 | 13 | void check_state_change(std::string &state, std::string newState, int &num_on_inputs, double &threashold); |
NickDGreg | 0:fc6fa085d591 | 14 | |
NickDGreg | 0:fc6fa085d591 | 15 | #endif /* CHECK_STATE_CHANGE_H_ */ |
NickDGreg | 0:fc6fa085d591 | 16 |