mirror of
https://github.com/SemvdH/OBD2-car-display.git
synced 2025-12-15 04:01:04 +00:00
add readme
This commit is contained in:
@@ -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
4
readme.md
Normal 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)
|
||||
Reference in New Issue
Block a user