Commit Graph

57 Commits

Author SHA1 Message Date
Jake Goodwin 200dd58c44 removed unsigned from the chars, for gcc-avr they are the same 2023-03-07 01:58:10 -08:00
Jake Goodwin a702c52327 removed baud rate define and other non_useful stuff 2023-03-07 01:57:53 -08:00
Jake Goodwin 8d4fee5c7e removed LED debuging in favor of serial. Also moved macro into header 2023-02-24 14:31:18 -08:00
Jake Goodwin 1d40f91885 Added a define for debuging usage 2023-02-24 14:27:14 -08:00
Jake Goodwin 6feec2b706 changed to even parity in demo main function. 2023-02-18 23:36:18 -08:00
Jake Goodwin e2027b3743 added info on parity flags 2023-02-18 23:35:57 -08:00
Jake Goodwin c187880bce changed the default to be the crystal value I like 2023-02-18 23:35:45 -08:00
Jake Goodwin 07603eeda4 hacked at makefile to run tests 2023-02-18 23:06:22 -08:00
Jake Goodwin 57a476193c commented out define 2023-02-18 23:06:07 -08:00
Jake Goodwin 3987d71fb2 updated comment description with correct text. 2023-02-18 22:53:03 -08:00
Jake Goodwin 06f3a89d72 removed empty function prototypes 2023-02-18 22:50:23 -08:00
Jake Goodwin 631f889661 removed code smells; unused functions and prototypes 2023-02-18 22:49:39 -08:00
Jake Goodwin 410d8b3c83 updated define name to reflect project not being focused towards BT anymore. 2023-02-18 22:47:43 -08:00
Jake Goodwin 9352fe4cc9 updated to use defines used in makefile or fallback to inline 2023-02-18 22:47:01 -08:00
Jake Goodwin e77acdd21f updated with note on external clock 2023-02-18 22:40:39 -08:00
Jake Goodwin faa1ff118b made dirs for sourcecode and moved code into it 2023-02-18 22:38:08 -08:00
Jake Goodwin b2631eb779 Updated makefile with newer version. Allows external crystal fuses and using directories 2023-02-18 22:36:46 -08:00
Jake Goodwin a7f2348ddc Update of readme
Had to fix a typo I found in the description of the library.

Signed-off-by: jakegoodwin <jakegoodwin@tutanota.com>
2023-02-02 23:18:53 +00:00
Jake Goodwin 083b95b61d Updated with info on the crystal and timing issues.w 2023-01-16 21:01:04 -08:00
Jake Goodwin 65928780d9 Added usage of the parity function in demo/main 2023-01-16 20:54:15 -08:00
Jake Goodwin 5b265a5258 Added prototypes to header and function defs for runtime functions to change parity and stop bits. 2023-01-16 20:30:36 -08:00
Jake Goodwin f4aef61b0e Decided to not use defines everywhere, instead making user accessable functions for runtime use. 2023-01-16 20:10:53 -08:00
Jake Goodwin b2992459b3 Addded defines and logic for carriage returns and line feeds to be appending to serial0_wirte() function calls 2023-01-16 19:50:56 -08:00
Jake Goodwin 32586999d0 Added in some defines for logic 2023-01-16 19:43:48 -08:00
Jake Goodwin 830c1028c0 rewrote usart init function with some macro stuff. 2023-01-16 19:43:28 -08:00
Jake Goodwin 1791a94f9e updated makefile for correct 328p fuses 2023-01-16 19:42:53 -08:00
Jake Goodwin b68248e069 updated example in readme for new interface 2023-01-15 14:37:57 -08:00
Jake Goodwin ed2e9d0f82 added test stuff back in. 2023-01-14 13:45:21 -08:00
Jake Goodwin 1750a9b65d fixed merge conflict 2023-01-14 13:43:34 -08:00
Jake Goodwin 70b8c768e1 updated func params 2023-01-14 13:26:29 -08:00
Jake Goodwin 49dd584185 wrote echoing main test 2023-01-14 13:26:11 -08:00
Jake Goodwin 6c9a11828b Added a serial0_flush_rxbuf() function 2023-01-14 12:59:34 -08:00
Jake Goodwin 3554cb60f2 changed params for function defs to use unsigned chars 2023-01-14 12:03:16 -08:00
Jake Goodwin 3706cf27a1 changed char to unsigned chars 2023-01-14 12:02:20 -08:00
Jake Goodwin 056e7a0375 added main() func testing for setup. 2023-01-14 11:51:31 -08:00
Jake Goodwin 2150baa106 added empty func for serial0_enable_timeouts() 2023-01-14 11:46:29 -08:00
Jake Goodwin d3ea6f445e Defined serial0_write() function 2023-01-14 11:44:48 -08:00
Jake Goodwin a8c4fa09ea updated header serial0_write() function proto 2023-01-14 11:44:20 -08:00
Jake Goodwin 3e61ba3e05 Added function def for serial0_read() 2023-01-14 11:41:11 -08:00
Jake Goodwin 6a93851d19 updated header proto for serial0_read() 2023-01-14 11:38:32 -08:00
Jake Goodwin b2cf1e3ad3 updated header file for new functions 2023-01-14 11:36:28 -08:00
Jake Goodwin 16492796be Defined function for setting the baud during runtime. 2023-01-14 11:36:13 -08:00
Jake Goodwin 6871b2ebee Updated README with roadmap of library 2023-01-14 11:19:21 -08:00
Jake Goodwin a71b57048e merged readme files 2023-01-13 22:59:59 -08:00
Jake Goodwin e583b5beb3 merged with remote repo 2023-01-13 22:59:09 -08:00
Jake Goodwin de5aa05fb8 set for 8Mhz 9600 BAUD, reduces error rate too 0.2% 2023-01-13 22:57:03 -08:00
Jake Goodwin ae1a5d5947 set 9600 baud rate, tested and working 2023-01-13 22:57:03 -08:00
Jake Goodwin 290629670d updated to ignore binary stuff. 2023-01-13 22:57:03 -08:00
Jake Goodwin 13ef0d793d added a ignore file 2023-01-13 22:57:03 -08:00
Jake Goodwin 527ca1e9e7 INIT COMMIT 2023-01-13 22:57:03 -08:00