|
393d62561f
|
Remove .vscode folder
|
2023-12-27 22:25:12 +01:00 |
|
|
91ace50878
|
Add tests.
|
2023-03-03 23:22:31 +01:00 |
|
|
d787da74bb
|
Add rules to build test binary.
|
2023-03-03 23:22:21 +01:00 |
|
|
18f2f4efcd
|
Forgot some files.
|
2023-03-03 18:17:14 +01:00 |
|
|
f8e09d656d
|
Many changes. Timer works now (using calloc instead of malloc). Adding test framework.
|
2023-03-03 18:17:00 +01:00 |
|
|
1f6c94746c
|
Research issue where togglePin1() is not being called.
|
2023-02-26 18:31:02 +01:00 |
|
|
013c619eaf
|
Fix function type to remove compiler warnings.
|
2023-02-26 16:26:25 +01:00 |
|
|
62418ea06c
|
Change handling of timer context.
|
2023-02-26 16:21:21 +01:00 |
|
|
10c21c1058
|
Make timer interface work (kind of). We can cyclically call functions now.
|
2023-02-26 15:44:26 +01:00 |
|
|
5cf13d04c0
|
Whitespace fix.
|
2023-02-22 19:20:21 +01:00 |
|
|
26d5914b62
|
First compiling FTDI verstion that does nothing except printing some FTDI details (if the hardware is connected)
|
2023-02-22 19:16:46 +01:00 |
|
|
5232b8a501
|
Add missing files.
|
2023-02-22 18:26:55 +01:00 |
|
|
00b2b28024
|
Switch to ftdi on PC.
|
2023-02-22 18:26:41 +01:00 |
|
|
27b2f0bd87
|
Turn both power transistors explicitly on.
|
2022-06-28 04:03:09 +02:00 |
|
|
76ac461516
|
Add init state before entering state machine loop.
|
2022-06-28 03:59:06 +02:00 |
|
|
3be047d2e4
|
Fill bridge's state machine function with IO logic.
|
2022-06-28 03:48:40 +02:00 |
|
|
5114887f1c
|
Refactored timer functions. Change baud of serial connection. Some minor IO changes.
|
2022-06-28 02:50:01 +02:00 |
|
|
f941df08c0
|
Remove pwm functionality because we have to rewrite it with the new statemachine module anyway.
|
2022-06-28 02:47:54 +02:00 |
|
|
6289c630f6
|
Changing vscode settings.
|
2022-06-28 02:45:24 +02:00 |
|
|
70c5e5ca4b
|
Change frequency of uController because now we use an Arduino.
|
2022-06-28 02:44:15 +02:00 |
|
|
34cc8b4eb8
|
Add statemachine module and use it in new bridge driver module.
|
2022-06-28 02:42:43 +02:00 |
|
|
4ca7afbb6f
|
Introduce cmd_worker() that handles commands cyclically.
|
2022-05-31 20:23:10 +02:00 |
|
|
ebd763cbe7
|
Invoke pwm module in main()
|
2022-05-31 00:11:44 +02:00 |
|
|
a7f54de603
|
Add pwm module.
|
2022-05-31 00:11:00 +02:00 |
|
|
231304bc5f
|
Add a lot of functions to timer module.
|
2022-05-31 00:10:37 +02:00 |
|
|
8143ae4eaf
|
Add a command to turn off Timer1.
|
2022-05-31 00:08:54 +02:00 |
|
|
424e2e710f
|
Change architecture of command handling. Now we do it outside of the interrupt context. Changes in inverter.c are done for testing/playing around.
|
2022-05-30 06:21:25 +02:00 |
|
|
754fc2bc92
|
1. Configure UART messages to have 2 stop bits.
2. Move mirroring of received characters to ISR.
|
2022-05-30 06:11:50 +02:00 |
|
|
927276afb5
|
1. Remove ISR for Timer0 Compare Unit.
2. Change chip select but keep 1kHz frequency of Timer1 PWM.
|
2022-05-30 06:10:18 +02:00 |
|
|
e595fcc78f
|
In main() configure Timer1 as PWM and PB6 as output.
|
2022-05-29 16:56:20 +02:00 |
|
|
e6fe8a9503
|
Change PWM on time to 10 of 1000 for testing.
|
2022-05-29 16:54:25 +02:00 |
|
|
a3192fc431
|
Introduce functions that configures Timer 1 with Fast PWM.
|
2022-05-29 16:47:15 +02:00 |
|
|
96ac9f1507
|
Create simple alternating voltage by naively switching ports off and on.
|
2022-05-27 02:21:58 +02:00 |
|
|
15ff1cc339
|
1. Use timer to print sinus of a number over serial connection.
|
2022-05-27 02:21:11 +02:00 |
|
|
180f4625a8
|
Fix compiler version for intellisense.
|
2022-05-27 02:18:20 +02:00 |
|
|
aaf8a9d501
|
Remove printfs.
|
2022-05-27 02:17:22 +02:00 |
|
|
76e89af042
|
Link against printf that allows floating point. Link against math library.
|
2022-05-24 18:59:55 +02:00 |
|
|
17eae752de
|
Add commands for manipulating pins. And other CRAAAAAZY stuff.
|
2022-05-23 21:29:17 +02:00 |
|
|
90d2f0dfbf
|
Fix pins.c
|
2022-05-23 21:28:20 +02:00 |
|
|
41f70bd135
|
Add file and functions for simple pin operations.
|
2022-05-23 21:26:15 +02:00 |
|
|
514cb2020b
|
Move doc folder out of software directory.
|
2022-05-23 15:29:40 +02:00 |
|
|
3fd547f2ea
|
Toggle PD6 instead of PC7 when timer compare interrupt occurs.
Move timer interrupt routine to timer.c
Change timer parameters
|
2022-05-13 01:24:38 +02:00 |
|
|
510cba47b1
|
Change README.
|
2022-05-12 21:41:46 +02:00 |
|
|
3d5fff615b
|
Configure PC7 pin as output.
|
2022-05-12 20:26:38 +02:00 |
|
|
4962ce9009
|
Adding switch command.
|
2022-05-12 20:26:12 +02:00 |
|
|
ee8f6387ad
|
Add command and play around with shit. Change atoi() with strtol() because it is safer.
§
|
2022-05-12 18:25:38 +02:00 |
|
|
6d8e00b162
|
Rename function cmd_collect() to cmd_collect_char().
|
2022-05-12 04:58:47 +02:00 |
|
|
43c3848d2a
|
Activate serial receive interrupt.
|
2022-05-12 04:46:38 +02:00 |
|
|
ab91d5f50e
|
Add files for handling commands.
|
2022-05-12 04:44:56 +02:00 |
|
|
bc0acd3b1a
|
VScode changing shit.
|
2022-05-12 04:43:55 +02:00 |
|