Commit graph

24 commits

Author SHA1 Message Date
7831fd9b34 Elevate lerp to 64 bits
For long lines, the linear interpolation for the current position could
overflow. This is the reason the length resolution is currently so
small, which sets a limit on the minimum pen speed. This change
introduces two 64-bit divisions, but allows for a larger length
resolution and lower pen speeds. The runtime is still pretty minimal.
2023-04-08 21:42:18 +02:00
cf1514262e Fix typo in file name 2023-04-08 20:33:14 +02:00
5dfe848129 Light LEDs on data reception 2021-04-05 15:22:11 +02:00
6f6c9df74f Enable output enable relay 2021-04-05 15:21:36 +02:00
a900c9481d Use new LED pins 2021-04-04 20:52:15 +02:00
64a01bef05 Rename MCU 2021-04-04 20:33:45 +02:00
ed2925a961 Move code within flash to allow bootloader 2021-04-04 20:27:18 +02:00
14d77a77df Move test point to PA10 2021-04-04 20:23:13 +02:00
713338b900 Remove superfluous pin definitions 2021-04-04 20:18:25 +02:00
fc91c5a032 Remove USB pull-up code 2021-04-04 20:17:12 +02:00
3ca6ea3e9e Merge commit 'e067fcbe30' as 'stm32f103c8t6-bootloader' 2021-04-04 19:50:04 +02:00
e067fcbe30 Squashed 'stm32f103c8t6-bootloader/' content from commit b193a72
git-subtree-dir: stm32f103c8t6-bootloader
git-subtree-split: b193a72ea70c26576ec0cec4a55d540eefe53bd0
2021-04-04 19:50:04 +02:00
c9a3535df9 Use PWM to slowly lower pen 2020-12-29 13:43:20 +01:00
ab5b2c61e6 Add clock frequency definitions 2020-12-26 11:45:20 +01:00
4774d5fbe5 Document PWM output settings 2020-12-26 11:04:55 +01:00
57a6b881b3 Use correct STM32 device header file 2020-12-25 16:28:24 +01:00
a529996719 Use PB6 for pen state output 2020-12-25 14:24:11 +01:00
8b1ead2c89 Declare TIM1 peripheral ownership 2020-12-25 13:54:54 +01:00
d8c9a60bd2 Use different intermediate coordinate calculation
Incremental calculation lead to high numerical errors, especially for
slow speeds.
2020-12-25 13:53:21 +01:00
0fabe1f9d3 Enlarge buffers 2020-12-25 13:52:38 +01:00
a8392b92a9 Add pen state control 2020-11-28 23:27:06 +01:00
0411a9af38 Reduce default velocity 2020-11-28 23:05:40 +01:00
57f486a4d2 Add simple HPGL parser, PWM output 2020-11-28 23:01:21 +01:00
7234eb8360 Add USB CDC and loop-back test 2020-10-11 22:37:46 +02:00