Skip to content

Commit

Permalink
Fix MKR R/G colour reversal
Browse files Browse the repository at this point in the history
  • Loading branch information
naylom committed Jan 26, 2023
1 parent 5b97ea2 commit 978c5d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name=MNRGBLEDBaseLib
version=1.0.1
version=1.0.2
author=Mark Naylor <mark_naylor@hotmail.com>
maintainer=Mark Naylor <mark_naylor@hotmail.com>
sentence= Base library to control RGB LED
paragraph=
category=Other
architectures=samd, avr
includes=MNGBLEDBaseLib.h
includes=MNRGBLEDBaseLib.h
url=
4 changes: 2 additions & 2 deletions src/MNRGBLEDBaseLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ void CRGBLED::SetDeviceBlue ( uint8_t strength )
}
/* If we are compiling on MKR WiFI 1010 with built in RGB LED the create derived class to control in and declare an instance as there is only one such LED */
#ifdef ARDUINO_ARCH_SAMD
const static int m_iMkrRedPin = 25;
const static int m_iMkrGreenPin = 26;
const static int m_iMkrRedPin = 26;
const static int m_iMkrGreenPin = 25;
const static int m_iMkrBluePin = 27;

void CMkrWiFi1010RGBLED::InitDevice()
Expand Down

0 comments on commit 978c5d3

Please sign in to comment.