Skip to content

Commit

Permalink
Removing possible library conflicts with default OV767x thanks to Eti…
Browse files Browse the repository at this point in the history
…en_Godfrey on edX
  • Loading branch information
plancherb1 committed Mar 19, 2021
1 parent 2772cd7 commit 3e65e51
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/multi_tenant/arduino_image_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef ARDUINO_EXCLUDE_CODE

#include "Arduino.h"
#include "Arduino_OV767X.h"
#include <TinyMLShield.h>

// Get an image from the camera module
TfLiteStatus GetImage(tflite::ErrorReporter* error_reporter, int image_width,
Expand Down
2 changes: 1 addition & 1 deletion examples/person_detection/arduino_image_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef ARDUINO_EXCLUDE_CODE

#include "Arduino.h"
#include "Arduino_OV767X.h"
#include <TinyMLShield.h>

// Get an image from the camera module
TfLiteStatus GetImage(tflite::ErrorReporter* error_reporter, int image_width,
Expand Down
2 changes: 1 addition & 1 deletion extras/CameraCapture/CameraCapture.ino
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
This example code is in the public domain.
*/

#include <Arduino_OV767X.h>
#include <TinyMLShield.h>

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

Expand Down
2 changes: 1 addition & 1 deletion extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
This example code is in the public domain.
*/

#include <Arduino_OV767X.h>
#include <TinyMLShield.h>

int bytesPerFrame;

Expand Down
2 changes: 1 addition & 1 deletion extras/CameraTestPattern/CameraTestPattern.ino
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
This example code is in the public domain.
*/

#include <Arduino_OV767X.h>
#include <TinyMLShield.h>

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

Expand Down
2 changes: 1 addition & 1 deletion extras/ConnectionTest/ConnectionTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/

#include <Arduino_OV767X.h>
#include <TinyMLShield.h>
#include <Arduino_CRC32.h>

int bytesPerFrame;
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Harvard_TinyMLx
version=1.0.0-Alpha
version=1.0.1-Alpha
author=TinyMLx Authors
maintainer=Brian Plancher <brian.plancher@gmail.com>
sentence=Supports the TinyML edX Course and TinyML Shield.
Expand Down
2 changes: 1 addition & 1 deletion src/Arduino_OV767X.h → src/Arduino_OV767X_TinyMLx.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
#ifndef _ARUDINO_OV767X_H_
#define _ARUDINO_OV767X_H_

#include "OV767X.h"
#include "OV767X_TinyMLx.h"

#endif
2 changes: 1 addition & 1 deletion src/OV767X.cpp → src/OV767X_TinyMLx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <Arduino.h>
#include <Wire.h>

#include "OV767X.h"
#include "OV767X_TinyMLx.h"

// if not defined in the variant
#ifndef digitalPinToBitMask
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/TinyMLShield.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Arduino_OV767X.h"
#include "Arduino_OV767X_TinyMLx.h"
#define BUTTON_PIN 13

// Custom shield button pin setting
Expand Down

0 comments on commit 3e65e51

Please sign in to comment.