Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed BufferedSerial Servo PCT2075 FastPWM
DualBLS.h@3:ecb00e0e8d68, 2018-03-18 (annotated)
- Committer:
- JonFreeman
- Date:
- Sun Mar 18 08:17:56 2018 +0000
- Revision:
- 3:ecb00e0e8d68
- Parent:
- 2:04761b196473
- Child:
- 5:ca86a7848d54
Starting motors requires high-side mosfet drivers being enabled. Auto tickleup functions now included to switch high sides off and on again to charge high side supply capacitors (now 2u2, up from 100n)
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| JonFreeman | 2:04761b196473 | 1 | //#define POWER_OF_TWO 12 // Range is 4 to 13, is log2N |
| JonFreeman | 2:04761b196473 | 2 | //typedef float ffty; // Choice of float or double float is HUGELY FASTER than double |
| JonFreeman | 2:04761b196473 | 3 | const int HANDBRAKE = 0, |
| JonFreeman | 2:04761b196473 | 4 | FORWARD = 8, |
| JonFreeman | 2:04761b196473 | 5 | REVERSE = 16, |
| JonFreeman | 2:04761b196473 | 6 | REGENBRAKE = 24; |
| JonFreeman | 3:ecb00e0e8d68 | 7 | |
| JonFreeman | 3:ecb00e0e8d68 | 8 | const double PI = 4.0 * atan(1.0), |
| JonFreeman | 3:ecb00e0e8d68 | 9 | TWOPI = 8.0 * atan(1.0); |