12 Commits

Author SHA1 Message Date
43b4f4aa20 ► Warning fixes
- Changed all float constants to use f suffix to prevent double conversions
- Removed compile warnings due to HAL_GPIO_* related calls
- Added comms.h with prototypes for functions which were used in main()
- Casts and externs to fix compile warnings in various files.
- Made a bunch of file-local variables static.
- Fixed buzzerFreq/buzzerPattern extern declarations with correct type (uint8_t)
- Since this is C, void func() { } needs to be void func(void) { }, so fixed that in all instances.
These updates follows from @trollcop
2019-06-10 20:18:37 +02:00
fe4bd76d7e ► Improved controller: faster and better overall
- the controller is faster and more light in memory footprint
- motor control is now done intependenly using Reusable code generation setting in Simulink
- fixed bug when chaging direction fast
2019-06-05 22:39:30 +02:00
0243eb347e added board temperature calibration, warning and poweroff (rene-dev and me); rearranged config.h; fixed backwards beep overflow; removed duplicate battery-adc-code (rene-dev); improved battery voltage measurement precision; put poweroff procedure to a separate function; poweroff button now only work if field weakening is 0 (otherwise everything will explode) 2018-07-29 17:30:49 +02:00
b3fe48a832 ADD: control via uart. Send two int16 (4 bytes) to usart 2 to control the motors with an arduino or a raspberry pi 2018-06-11 14:29:39 +02:00
312d08b944 FIX: license information 2018-05-08 13:02:20 +02:00
fd49c006f7 ADD: Wii Nunchuck control 2018-04-08 00:03:35 +02:00
ff224a2509 adc in 2018-02-18 13:37:50 +01:00
6842f7b7fe ADD: buzzer, undervoltage lockout, safe poweroff, foo 2018-02-10 01:37:36 +01:00
94907b91cf refactored code, moved user-relevant defines to config.h 2018-02-09 08:53:25 +01:00
86c6106fb7 current feedback "working" 2018-01-07 03:11:55 +01:00
61aff94a26 format 2018-01-06 23:33:34 +01:00
cd5718e151 cleanup 2018-01-06 23:11:22 +01:00