Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
Change Repo and Branding
  • Loading branch information
reefwing committed Dec 14, 2022
1 parent f936d48 commit 94e1bd8
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Nexgen SBUS
# Reefwing SBUS

SBUS Library for the Arduino Nano 33 BLE and Portenta H7.

Expand Down
9 changes: 5 additions & 4 deletions examples/plotSBUS/plotSBUS.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
@copyright Please see the accompanying LICENSE file.
Code: David Such
Version: 1.0
Date: 27/03/22
Version: 2.0.0
Date: 15/12/22
1.0 Original Release 27/03/22
1.0.0 Original Release 27/03/22
2.0.0 Change Repo & Branding 15/12/22
This sketch will plot the first 4 channels of SBUS data to the
Arduino IDE Serial Plotter. The SBUS protocol returns a value
Expand All @@ -29,7 +30,7 @@
******************************************************************/

#include <NexgenSBUS.h>
#include <ReefwingSBUS.h>

uint16_t channels[16];
bool failSafe, lostFrame;
Expand Down
9 changes: 5 additions & 4 deletions examples/serialSBUS/serialSBUS.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
@copyright Please see the accompanying LICENSE file.
Code: David Such
Version: 1.0
Date: 27/03/22
Version: 2.0.0
Date: 15/12/22
1.0 Original Release 27/03/22
1.0.0 Original Release 27/03/22
2.0.0 Change Repo & Branding 15/12/22
This example sketch assumes that inverted SBUS data is being fed
to pin 2 (D0/Rx) on the Nano 33 BLE (i.e., Serial1).
Expand All @@ -29,7 +30,7 @@
******************************************************************/

#include <NexgenSBUS.h>
#include <ReefwingSBUS.h>

#define MIN_RATE_ROLL -60
#define MIN_RATE_PITCH -60
Expand Down
2 changes: 1 addition & 1 deletion keywords.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#######################################
# IDE Map for Nexgen SBUS
# IDE Map for Reefwing SBUS
#######################################

#######################################
Expand Down
8 changes: 4 additions & 4 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name=NexgenSBUS
version=1.0.0
name=ReefwingSBUS
version=2.0.0
author=David Such <dsuch@reefwing.com.au>
maintainer=David Such <dsuch@reefwing.com.au>
sentence=SBUS Library for the Nano 33 BLE and Portenta H7.
paragraph=A Fork of the Bolder Flight Systems SBUS Library. Targets the Arduino Nano 33 BLE & Portenta H7 Hardware.
category=Communication
url=https://bitbucket.org/David_Such/nexgen_SBUS/src/main/
url=https://bitbucket.org/David_Such/Reefwing_SBUS/src/main/
architectures=*
includes=NexgenSBUS.h
includes=ReefwingSBUS.h
11 changes: 6 additions & 5 deletions src/NexgenSBUS.cpp → src/ReefwingSBUS.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
/******************************************************************
@file NexgenSBUS.cpp
@file ReefwingSBUS.cpp
@brief SBUS Library for the Nano 33 BLE and Portenta H7.
@author David Such
@copyright Please see the accompanying LICENSE file.
Code: David Such
Version: 1.0
Date: 27/03/22
Version: 2.0.0
Date: 15/12/22
1.0 Original Release 27/03/22
1.0.0 Original Release 27/03/22
2.0.0 Change Repo & Branding 15/12/22
Credits - Forked from the Bolder Flight Systems SBUS library and
adapted for the Arduino Nano 33 BLE and Portenta H7.
Expand Down Expand Up @@ -42,7 +43,7 @@

#include <Arduino.h>

#include "NexgenSBUS.h"
#include "ReefwingSBUS.h"

#if defined(ARDUINO_ARCH_NRF52840)
// Arduino Nano 33 BLE
Expand Down
15 changes: 8 additions & 7 deletions src/NexgenSBUS.h → src/ReefwingSBUS.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
/******************************************************************
@file NexgenSBUS.h
@file ReefwingSBUS.h
@brief SBUS Library for the Nano 33 BLE and Portenta H7.
@author David Such
@copyright Please see the accompanying LICENSE file.
Code: David Such
Version: 1.0
Date: 27/03/22
Version: 2.0.0
Date: 15/12/22
1.0 Original Release 27/03/22
1.0.0 Original Release 27/03/22
2.0.0 Change Repo & Branding 15/12/22
Credits - Forked from the Bolder Flight Systems SBUS library and
adapted for the Arduino Nano 33 BLE and Portenta H7.
Expand Down Expand Up @@ -40,8 +41,8 @@
******************************************************************/

#ifndef NexgenSBUS_h
#define NexgenSBUS_h
#ifndef ReefwingSBUS_h
#define ReefwingSBUS_h

#include <Arduino.h>

Expand Down Expand Up @@ -117,4 +118,4 @@ class SBUS {
float PolyVal(size_t PolySize, float *Coefficients, float X);
};

#endif // NexgenSBUS_h
#endif // ReefwingSBUS_h

0 comments on commit 94e1bd8

Please sign in to comment.