Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*********************************
- * Poti auf 0 = 464nm *
- * Poti auf 4095 = 611nm *
- * *
- * Wertebereich: 611 - 464 = 147 *
- * *
- * 4095 / 147 = 27.8571428 *
- **********************************/
- double poti2nm(int poti) {
- return (464 + ((double)poti / 27.8571428));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement