Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void LaserDriver::changeIntensity(uint8_t newIntensity)
- {
- // custom implementation
- // pin 44 on arduno mega + ramps 1.4 = registro OC5C
- // newIntensity [0..255]
- #if LASER_PIN > -1
- // qui dovrei variare il prescaler avendo un range da MIN_F a MAX_F rapportato al valore di newIntensity
- #endif
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement