From 0e4f501f24cb7d98cfa9d1f0a77dbe7779088c4d Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Thu, 26 Oct 2023 23:46:14 +0200 Subject: [PATCH] add readme --- due_obd2/due_obd2.ino | 12 ++++++------ readme.md | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 readme.md diff --git a/due_obd2/due_obd2.ino b/due_obd2/due_obd2.ino index b82f708..efdefba 100644 --- a/due_obd2/due_obd2.ino +++ b/due_obd2/due_obd2.ino @@ -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 +#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<