Skip to content

Commit 3e65e51

Browse files
committed
Removing possible library conflicts with default OV767x thanks to Etien_Godfrey on edX
1 parent 2772cd7 commit 3e65e51

File tree

11 files changed

+10
-10
lines changed

11 files changed

+10
-10
lines changed

examples/multi_tenant/arduino_image_provider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef ARDUINO_EXCLUDE_CODE
1616

1717
#include "Arduino.h"
18-
#include "Arduino_OV767X.h"
18+
#include <TinyMLShield.h>
1919

2020
// Get an image from the camera module
2121
TfLiteStatus GetImage(tflite::ErrorReporter* error_reporter, int image_width,

examples/person_detection/arduino_image_provider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef ARDUINO_EXCLUDE_CODE
1616

1717
#include "Arduino.h"
18-
#include "Arduino_OV767X.h"
18+
#include <TinyMLShield.h>
1919

2020
// Get an image from the camera module
2121
TfLiteStatus GetImage(tflite::ErrorReporter* error_reporter, int image_width,

extras/CameraCapture/CameraCapture.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
This example code is in the public domain.
3535
*/
3636

37-
#include <Arduino_OV767X.h>
37+
#include <TinyMLShield.h>
3838

3939
unsigned short pixels[176 * 144]; // QCIF: 176x144 X 2 bytes per pixel (RGB565)
4040

extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
This example code is in the public domain.
99
*/
1010

11-
#include <Arduino_OV767X.h>
11+
#include <TinyMLShield.h>
1212

1313
int bytesPerFrame;
1414

extras/CameraTestPattern/CameraTestPattern.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
This example code is in the public domain.
3535
*/
3636

37-
#include <Arduino_OV767X.h>
37+
#include <TinyMLShield.h>
3838

3939
unsigned short pixels[176 * 144]; // QCIF: 176x144 X 2 bytes per pixel (RGB565)
4040

extras/ConnectionTest/ConnectionTest.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
2828
*/
2929

30-
#include <Arduino_OV767X.h>
30+
#include <TinyMLShield.h>
3131
#include <Arduino_CRC32.h>
3232

3333
int bytesPerFrame;

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Harvard_TinyMLx
2-
version=1.0.0-Alpha
2+
version=1.0.1-Alpha
33
author=TinyMLx Authors
44
maintainer=Brian Plancher <[email protected]>
55
sentence=Supports the TinyML edX Course and TinyML Shield.

src/Arduino_OV767X.h renamed to src/Arduino_OV767X_TinyMLx.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
#ifndef _ARUDINO_OV767X_H_
88
#define _ARUDINO_OV767X_H_
99

10-
#include "OV767X.h"
10+
#include "OV767X_TinyMLx.h"
1111

1212
#endif

src/OV767X.cpp renamed to src/OV767X_TinyMLx.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <Arduino.h>
88
#include <Wire.h>
99

10-
#include "OV767X.h"
10+
#include "OV767X_TinyMLx.h"
1111

1212
// if not defined in the variant
1313
#ifndef digitalPinToBitMask
File renamed without changes.

src/TinyMLShield.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "Arduino_OV767X.h"
1+
#include "Arduino_OV767X_TinyMLx.h"
22
#define BUTTON_PIN 13
33

44
// Custom shield button pin setting

0 commit comments

Comments
 (0)