Commit Graph

  • ac2545c869 Fix readme master Marco 2024-01-16 16:31:01 +0100
  • b6e88b3751 Refactor Marco 2024-01-16 16:28:21 +0100
  • 99684ac531 Format and fix linter warnings Marco 2023-12-27 22:54:29 +0100
  • fd28d9815a Add tests Marco 2023-12-27 22:32:07 +0100
  • efd30c098d Ignore build folder for tests Marco 2023-12-27 22:31:53 +0100
  • 5cd5e5f842 Ignore .cache folder Marco 2023-12-27 22:28:47 +0100
  • 2ead8ab62d Add compile_commands db for clangd LSP Marco 2023-12-27 22:27:29 +0100
  • 393d62561f Remove .vscode folder Marco 2023-12-27 22:25:12 +0100
  • 91ace50878 Add tests. Marco 2023-03-03 23:22:31 +0100
  • d787da74bb Add rules to build test binary. Marco 2023-03-03 23:22:21 +0100
  • 18f2f4efcd Forgot some files. Marco 2023-03-03 18:17:14 +0100
  • f8e09d656d Many changes. Timer works now (using calloc instead of malloc). Adding test framework. Marco 2023-03-03 18:17:00 +0100
  • 1f6c94746c Research issue where togglePin1() is not being called. Marco 2023-02-26 18:31:02 +0100
  • 013c619eaf Fix function type to remove compiler warnings. Marco 2023-02-26 16:26:25 +0100
  • 62418ea06c Change handling of timer context. Marco 2023-02-26 16:21:21 +0100
  • 10c21c1058 Make timer interface work (kind of). We can cyclically call functions now. Marco 2023-02-26 15:44:26 +0100
  • 5cf13d04c0 Whitespace fix. Marco 2023-02-22 19:20:21 +0100
  • 26d5914b62 First compiling FTDI verstion that does nothing except printing some FTDI details (if the hardware is connected) Marco 2023-02-22 19:16:46 +0100
  • 5232b8a501 Add missing files. Marco 2023-02-22 18:26:55 +0100
  • 00b2b28024 Switch to ftdi on PC. Marco 2023-02-22 18:26:41 +0100
  • 27b2f0bd87 Turn both power transistors explicitly on. Marco 2022-06-28 04:03:09 +0200
  • 76ac461516 Add init state before entering state machine loop. Marco 2022-06-28 03:59:06 +0200
  • 3be047d2e4 Fill bridge's state machine function with IO logic. Marco 2022-06-28 03:48:40 +0200
  • 5114887f1c Refactored timer functions. Change baud of serial connection. Some minor IO changes. Marco 2022-06-28 02:50:01 +0200
  • f941df08c0 Remove pwm functionality because we have to rewrite it with the new statemachine module anyway. Marco 2022-06-28 02:47:54 +0200
  • 6289c630f6 Changing vscode settings. Marco 2022-06-28 02:45:24 +0200
  • 70c5e5ca4b Change frequency of uController because now we use an Arduino. Marco 2022-06-28 02:44:15 +0200
  • 34cc8b4eb8 Add statemachine module and use it in new bridge driver module. Marco 2022-06-28 02:42:43 +0200
  • 4ca7afbb6f Introduce cmd_worker() that handles commands cyclically. Marco 2022-05-31 20:23:10 +0200
  • ebd763cbe7 Invoke pwm module in main() Marco 2022-05-31 00:11:44 +0200
  • a7f54de603 Add pwm module. Marco 2022-05-31 00:11:00 +0200
  • 231304bc5f Add a lot of functions to timer module. Marco 2022-05-31 00:10:37 +0200
  • 8143ae4eaf Add a command to turn off Timer1. Marco 2022-05-31 00:08:54 +0200
  • 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. Marco 2022-05-30 06:21:25 +0200
  • 754fc2bc92 1. Configure UART messages to have 2 stop bits. 2. Move mirroring of received characters to ISR. Marco 2022-05-30 06:11:50 +0200
  • 927276afb5 1. Remove ISR for Timer0 Compare Unit. 2. Change chip select but keep 1kHz frequency of Timer1 PWM. Marco 2022-05-30 06:10:18 +0200
  • e595fcc78f In main() configure Timer1 as PWM and PB6 as output. Marco 2022-05-29 16:56:20 +0200
  • e6fe8a9503 Change PWM on time to 10 of 1000 for testing. Marco 2022-05-29 16:54:25 +0200
  • a3192fc431 Introduce functions that configures Timer 1 with Fast PWM. Marco 2022-05-29 16:47:15 +0200
  • 96ac9f1507 Create simple alternating voltage by naively switching ports off and on. Marco 2022-05-27 02:21:58 +0200
  • 15ff1cc339 1. Use timer to print sinus of a number over serial connection. Marco 2022-05-27 02:21:11 +0200
  • 180f4625a8 Fix compiler version for intellisense. Marco 2022-05-27 02:18:20 +0200
  • aaf8a9d501 Remove printfs. Marco 2022-05-27 02:17:22 +0200
  • 76e89af042 Link against printf that allows floating point. Link against math library. Marco 2022-05-24 18:59:55 +0200
  • 17eae752de Add commands for manipulating pins. And other CRAAAAAZY stuff. Marco 2022-05-23 21:29:17 +0200
  • 90d2f0dfbf Fix pins.c Marco 2022-05-23 21:28:20 +0200
  • 41f70bd135 Add file and functions for simple pin operations. Marco 2022-05-23 21:26:15 +0200
  • 514cb2020b Move doc folder out of software directory. Marco 2022-05-23 15:29:40 +0200
  • 3fd547f2ea Toggle PD6 instead of PC7 when timer compare interrupt occurs. Move timer interrupt routine to timer.c Change timer parameters Marco 2022-05-13 01:24:38 +0200
  • 510cba47b1 Change README. Marco 2022-05-12 21:41:46 +0200
  • 3d5fff615b Configure PC7 pin as output. Marco 2022-05-12 20:26:38 +0200
  • 4962ce9009 Adding switch command. Marco 2022-05-12 20:26:12 +0200
  • ee8f6387ad Add command and play around with shit. Change atoi() with strtol() because it is safer. § Marco 2022-05-12 18:25:38 +0200
  • 6d8e00b162 Rename function cmd_collect() to cmd_collect_char(). Marco 2022-05-12 04:58:47 +0200
  • 43c3848d2a Activate serial receive interrupt. Marco 2022-05-12 04:46:38 +0200
  • ab91d5f50e Add files for handling commands. Marco 2022-05-12 04:44:56 +0200
  • bc0acd3b1a VScode changing shit. Marco 2022-05-12 04:43:55 +0200
  • a144720297 Add info for ISP. Marco 2022-05-12 04:43:08 +0200
  • 4d385e20f4 Some more changes. Marco 2022-05-11 22:21:21 +0200
  • 9cb9d7f3a8 From now on, flash with ISP. Bootloader of Adafruit feather is trash. Marco 2022-05-11 22:21:00 +0200
  • 609deed11e A lot of changes. UART works. Timer function work but sei() fucks shit up. Marco 2022-05-11 20:38:02 +0200
  • f2d128bfcd Change pin and delay of the toggle. Marco Groß 2021-12-05 00:24:16 +0100
  • 35e57060c6 Changing microcontroller to correct one (ATmega328p). Changing frequency to 16 MHz. Adding make target "flash" for flashing produced .hex file. Marco Groß 2021-12-05 00:22:18 +0100
  • a78e007886 Adding documents. Datasheet for ATmega328p and pinout for ARD Nano. Marco Groß 2021-12-05 00:21:40 +0100
  • 6447435af0 Toggle a pin! Marco Groß 2021-12-02 22:28:01 +0100
  • 58d84aa536 Add F_CPU macro to define CPU frequency. Necessary for delay.h Marco Groß 2021-12-02 22:27:10 +0100
  • 859e87b3d8 Adding eclipse's project files to .gitignore. Marco Groß 2021-12-02 22:26:04 +0100
  • 0e56f904d0 Adding source and Makefile Marco Groß 2021-12-02 21:57:19 +0100
  • 608fd01f29 Initial commit mgross 2021-12-02 20:50:20 +0000