add readme

This commit is contained in:
Sem van der Hoeven
2023-10-26 23:46:14 +02:00
parent a3920f4df0
commit 0e4f501f24
2 changed files with 10 additions and 6 deletions

View File

@@ -6,9 +6,13 @@ Program to create a car monitor display using:
- FSC-DB004 (BT 836B) bluetooth module
*/
#include "Arduino.h"
/* include UTFT library */
#include <UTFT.h>
#include "obd2_display.h"
// #include "obd2_timer.h"
#define DEBUG 1
/* pins */
@@ -16,10 +20,6 @@ Program to create a car monitor display using:
#define PIN_BT_TX 18
#define PIN_BT_STATE 3 /* connected/disconnected state of BT */
/* display size */
#define LCD_W 480
#define LCD_H 320
extern uint8_t BigFont[];
extern uint8_t SmallFont[];
@@ -45,6 +45,8 @@ void setup() {
#if (DEBUG == 1)
Serial.println("Starting");
#endif
TCCR0A=(1<<WGM01); //Set the CTC mode
}
void loop() {
@@ -66,6 +68,4 @@ void loop() {
delay(10);
should_clear = 0;
}
}

4
readme.md Normal file
View File

@@ -0,0 +1,4 @@
## Links
- [Atmega 32U4 datasheet](https://ww1.microchip.com/downloads/en/devicedoc/atmel-7766-8-bit-avr-atmega16u4-32u4_datasheet.pdf)
- [Atmel SAM3X/3A datasheet](https://copperhilltech.com/content/Atmel-SAM3X-Datasheet.pdf)
- [Atmega 32U4 AVR035: Efficient C Coding for AVR](https://ww1.microchip.com/downloads/en/Appnotes/doc1497.pdf)