Color sensor reset at the end of calibration added. sensor id auto assignment was changed to be a fixed value assignment to avoid sensor id shift when some sensor is absent.
Dependencies: UniGraphic mbed vt100
af_utils/af_mgr.h@1:8818b793d147, 2018-02-23 (annotated)
- Committer:
- Rhyme
- Date:
- Fri Feb 23 07:51:55 2018 +0000
- Revision:
- 1:8818b793d147
- Parent:
- 0:ce97f6d34336
Wrong behavior when one of color sensor is missing has been fixed.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Rhyme | 0:ce97f6d34336 | 1 | #ifndef _AF_MGR_H_ |
Rhyme | 0:ce97f6d34336 | 2 | #define _AF_MGR_H_ |
Rhyme | 0:ce97f6d34336 | 3 | #include "afLib.h" |
Rhyme | 0:ce97f6d34336 | 4 | #include "pending.h" |
Rhyme | 0:ce97f6d34336 | 5 | |
Rhyme | 0:ce97f6d34336 | 6 | extern afLib *afero ; |
Rhyme | 0:ce97f6d34336 | 7 | extern pending_class *pending ; |
Rhyme | 0:ce97f6d34336 | 8 | extern bool gLinked ; |
Rhyme | 0:ce97f6d34336 | 9 | extern bool gConnected ; |
Rhyme | 0:ce97f6d34336 | 10 | |
Rhyme | 0:ce97f6d34336 | 11 | void init_aflib(void) ; |
Rhyme | 0:ce97f6d34336 | 12 | |
Rhyme | 0:ce97f6d34336 | 13 | #endif /* _AF_MGR_H_ */ |