Skip to content

Commit

Permalink
Update util.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Inhumierer committed Nov 12, 2013
1 parent 3186b84 commit 5d35700
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firmware/src_common/util.h
Expand Up @@ -33,6 +33,7 @@
extern uint8_t bufx[];
unsigned int adc_data;

void printSigned(int16_t i);
uint16_t linear_interpolate(uint16_t in, uint16_t min_in, uint16_t max_in, uint16_t min_out, uint16_t max_out);
uint32_t linear_interpolate32(uint32_t in, uint32_t min_in, uint32_t max_in, uint32_t min_out, uint32_t max_out);
float linear_interpolate_f(float in, float min_in, float max_in, float min_out, float max_out);
Expand Down

0 comments on commit 5d35700

Please sign in to comment.