phil99
 Guru
 Joined: 11/02/2018 Location: AustraliaPosts: 2610 |
Posted: 10:22pm 28 Aug 2022 |
|
|
|
My previous post needs amending as CPUSPEED can be either kHz or Hz
> option list OPTION CPUSPEED (KHz) 378000
or
> ? mm.info(cpuspeed) 378000000 >
P 81 PicoMiteVGA manual, P 112 PicoMite manual
PWM command - Minimum frequency Hz = (cpuspeed + 1) Hz / (2^24)
or
PWM command - Minimum frequency Hz = (Val(mm.info(cpuspeed)) + 1) / (2^24)
Non relevant Edit " Or should I uses polygons when drawing diaginally ?" Two right angle triangles using TRIANGLE easier than POLYGON when calculating corners of the angle. Edited 2022-08-29 09:20 by phil99 |