Created
April 2, 2014 06:15
-
-
Save anonymous/9928801 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define CONST1 16666 | |
#define WIDTH 400 | |
int main(void) { | |
uint16_t u16_rpm = 19920; | |
uint32_t u32_adv = 500; | |
int16_t s16_test = (CONST1 * (WIDTH - u32_adv)) / u16_rpm; | |
while(1) { | |
} | |
return 0 ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment