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: mbed
Fork of Chemical_Sensor_DMA by
Sample/quad.h@2:3771b3195c7b, 2015-10-29 (annotated)
- Committer:
- baxterja
- Date:
- Thu Oct 29 17:15:20 2015 +0000
- Revision:
- 2:3771b3195c7b
Accessible Sample folder
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
baxterja | 2:3771b3195c7b | 1 | /* |
baxterja | 2:3771b3195c7b | 2 | Add this to the Angle Encoder class later |
baxterja | 2:3771b3195c7b | 3 | |
baxterja | 2:3771b3195c7b | 4 | http://cache.freescale.com/files/32bit/doc/app_note/AN4381.pdf |
baxterja | 2:3771b3195c7b | 5 | */ |
baxterja | 2:3771b3195c7b | 6 | |
baxterja | 2:3771b3195c7b | 7 | #ifndef QUAD_H_ |
baxterja | 2:3771b3195c7b | 8 | #define QUAD_H_ |
baxterja | 2:3771b3195c7b | 9 | |
baxterja | 2:3771b3195c7b | 10 | #include "mbed.h" |
baxterja | 2:3771b3195c7b | 11 | |
baxterja | 2:3771b3195c7b | 12 | void quad_update(int); |
baxterja | 2:3771b3195c7b | 13 | void quad_init(); |
baxterja | 2:3771b3195c7b | 14 | int quad_read(); |
baxterja | 2:3771b3195c7b | 15 | void quad_invert(); |
baxterja | 2:3771b3195c7b | 16 | |
baxterja | 2:3771b3195c7b | 17 | #endif /* DMA_H_ */ |