[OpenTRV-dev] V0p2 board here?

Jeremy Poulter jeremy at bigjungle.net
Fri Nov 6 21:17:55 GMT 2015


Hum... That did not work. I tried building that tag with Arduino 1.6.5 and
in now at least tries to compile all the files but I get errors
with OTV0P2BASE missing lots of members (see attached log).

I also tried building with 1.6.6. This is doing some weird thing when
converting the .ino file to C++ and adding definitions for all the static
functions at the start of the file then erroring about it;

// DOES NOT RETURN.
// Tries to turn off most stuff safely that will benefit from doing so, but
nothing too complex.
// Tries not to use lots of energy so as to keep distress beacon running
for a while.
uint16_t sramCRC();
uint16_t eeCRC();
void posPOST(const uint8_t position, const __FlashStringHelper *s);
bool FilterRXISR(const volatile uint8_t *buf, volatile uint8_t &buflen);
void optionalPOST();
void setup();
void loop();
#line 64
void panic()
  {

Sorry this has turned in to a bit of a support thread :(

Jeremy


On 6 November 2015 at 18:26, Damon Hart-Davis <dhd at exnet.com> wrote:

> Hi,
>
> May I suggest then the matching 20151002-REV8-BH versions of OTRadioLink
> and mainline.  Remember to change the config to suit your hardware, eg REV2.
>
> If those don’t suit I will create you a sensible matching pair, eg over
> the weekend.
>
> Rgds
>
> Damon
>
>
> > On 6 Nov 2015, at 18:22, Jeremy Poulter <jeremy at bigjungle.net> wrote:
> >
> > Not particularly fussed about getting the latest so if you could
> recommend a tag/branch that is stable I would be grateful.
> >
> > Jeremy
> >
> > On 6 Nov 2015 18:08, "Damon Hart-Davis" <dhd at exnet.com> wrote:
> > Hi,
> >
> > Be cautious actually getting code from the mainline for anything serious
> without asking me first as it gets yanked around for various different
> purposes!  It should always be *near* production quality, but not
> necessarily quite at it.
> >
> > In general, ask me directly or on the dev list if you are thinking of
> using the HEAD and either matching tags can be put in all the libraries or
> we can point you to a recent set known to play nicely together.
> >
> > We are due another release of everything soonish, V0.10.
> >
> > Rgds
> >
> > Damon
> >
> >
> > > On 6 Nov 2015, at 18:01, Deniz Erbilgin <deniz.erbilgin at gmail.com>
> wrote:
> > >
> > > I'm using 1.6.5. Don't know if switching to it would change anything
> though. It may be worth it just too see if it's a problem with your
> installation.
> > >
> > > Also, we've just fixed the mainline (apparently it was broken around
> lunchtime) so you should get the latest version.
> > >
> > > Regards,
> > >
> > > Deniz
> > >
> > > On 06/11/15 16:57, Jeremy Poulter wrote:
> > >> Arduino 1.6.4 from arduino.cc
> > >>
> > >> Jeremy
> > >>
> > >> On 6 November 2015 at 16:05, Deniz Erbilgin <deniz.erbilgin at gmail.com>
> wrote:
> > >> What version of the arduino IDE are you using (and is it from .cc or
> .org)?
> > >>
> > >> Regards,
> > >>
> > >> Deniz
> > >>
> > >>
> > >> On 06/11/15 15:21, Jeremy Poulter wrote:
> > >>> Ah sorry, it was that one I was using, it was the two libraries
> OTRadioLink and OTProtocolCC that where from the OpenTRV github.
> > >>>
> > >>> Jeremy
> > >>>
> > >>> On 6 November 2015 at 14:40, Deniz Erbilgin <
> deniz.erbilgin at gmail.com> wrote:
> > >>> As far as I know the repo you've linked is currently just a place
> holder. We're currently developing on is this one:
> > >>>
> > >>> https://github.com/DamonHD/OpenTRV
> > >>>
> > >>> The latest firmware is under ./Arduino/V0p2_Main
> > >>>
> > >>> You should also make sure you have the latest version of OTRadioLink
> from https://github.com/opentrv/OTRadioLink because we've done a lot of
> refactoring recently.
> > >>>
> > >>> Regards,
> > >>>
> > >>> Deniz
> > >>>
> > >>>
> > >>>
> > >>> On 06/11/15 14:12, Jeremy Poulter wrote:
> > >>>> I have a first version of this at
> http://jeremy.bigjungle.net/opentrv/package_opentrv_index.json I think it
> is ok but I am having troubles testing;
> > >>>>
> > >>>> a) I can compile Blink and other examples but I am reluctant to
> upload because of;
> > >>>> b) I can not compile the V0p2 firmware (with any board, Uno etc) it
> just pauses after the first file with no errors
> > >>>>
> > >>>> The code is the latest version (as of a few hours ago) from
> https://github.com/opentrv/opentrv.git.
> > >>>>
> > >>>> Can anyone either tell me what is wrong with my setup re: building
> the firmware or give the above like a go and let me know if it works?
> > >>>>
> > >>>> Jeremy
> > >>>>
> > >>>> FYI the build log is;
> > >>>>
> > >>>>
> > >>>> Build options changed, rebuilding all
> > >>>> Using library OTProtocolCC in folder:
> C:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC (legacy)
> > >>>> Using library SPI in folder:
> C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI
> > >>>> Using library Wire in folder:
> C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire
> > >>>> Using library OTRadioLink in folder:
> C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink (legacy)
> > >>>>
> > >>>>
> C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++
> -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections
> -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L
> -DARDUINO=10604 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR
> -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino
> -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard
> -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC
> -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI
> -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire
> -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink
> C:\Users\jeremy\AppData\Local\Temp\build8179085015090323129.tmp\AltMain.cpp
> -o
> C:\Users\jeremy\AppData\Local\Temp\build8179085015090323129.tmp\AltMain.cpp.o
> > >>>>
> > >>>>
> > >>>> On 5 November 2015 at 11:13, Jeremy Poulter <jeremy at bigjungle.net>
> wrote:
> > >>>> Thanks, I think that is sufficient but will drop an email if I need
> more info.
> > >>>>
> > >>>> Jeremy
> > >>>>
> > >>>> On 5 November 2015 at 11:03, Damon Hart-Davis <dhd at exnet.com>
> wrote:
> > >>>> Hi,
> > >>>>
> > >>>> 1) Thanks!
> > >>>>
> > >>>> 2) REV2 is one of the revisions/variants of our V0p2 design
> (ATmega328P based).
> > >>>>
> > >>>> 3) Here’s the main setup page, but tell me if you need more:
> https://sourceforge.net/p/opentrv/wiki/Arduino/
> > >>>>
> > >>>> Rgds
> > >>>>
> > >>>> Damon
> > >>>>
> > >>>>
> > >>>> > On 5 Nov 2015, at 10:57, Jeremy Poulter <jeremy at bigjungle.net>
> wrote:
> > >>>> >
> > >>>> > I can give it a go. Need to get setup so I can update the
> firmware on my Rev 2 board anyway (is that the same as V0p2?). Can you
> point me at the docs for the IDE setup?
> > >>>> >
> > >>>> > Jeremy
> > >>>> >
> > >>>> > On 5 November 2015 at 10:14, Damon Hart-Davis <dhd at exnet.com>
> wrote:
> > >>>> > OK, thanks!
> > >>>> >
> > >>>> > Separate question then: anyone volunteering to formulate the file?
> > >>>> >
> > >>>> > I will find somewhere suitable to locate it, eg GitHub or
> earth.org.uk.
> > >>>> >
> > >>>> > Rgds
> > >>>> >
> > >>>> > Damon
> > >>>> >
> > >>>> > > On 5 Nov 2015, at 09:25, Damon Hart-Davis <dhd at exnet.com>
> wrote:
> > >>>> > >
> > >>>> > > Should the V0p2 board description be going here to make life
> easier, somehow, or do I have the wrong end of the stick as usual?
> > >>>> > >
> > >>>> > >
> https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls#list-of-3rd-party-boards-support-urls
> > >>>> > >
> > >>>> > > Rgds
> > >>>> > >
> > >>>> > > Damon
> > >>>> >
> > >>>> > _______________________________________________
> > >>>> > OpenTRV-dev mailing list
> > >>>> > OpenTRV-dev at lists.opentrv.org.uk
> > >>>> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>> >
> > >>>> > _______________________________________________
> > >>>> > OpenTRV-dev mailing list
> > >>>> > OpenTRV-dev at lists.opentrv.org.uk
> > >>>> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>>
> > >>>> _______________________________________________
> > >>>> OpenTRV-dev mailing list
> > >>>> OpenTRV-dev at lists.opentrv.org.uk
> > >>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> OpenTRV-dev mailing list
> > >>>>
> > >>>> OpenTRV-dev at lists.opentrv.org.uk
> > >>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> OpenTRV-dev mailing list
> > >>> OpenTRV-dev at lists.opentrv.org.uk
> > >>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> OpenTRV-dev mailing list
> > >>>
> > >>> OpenTRV-dev at lists.opentrv.org.uk
> > >>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>
> > >>
> > >> _______________________________________________
> > >> OpenTRV-dev mailing list
> > >> OpenTRV-dev at lists.opentrv.org.uk
> > >> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> OpenTRV-dev mailing list
> > >>
> > >> OpenTRV-dev at lists.opentrv.org.uk
> > >> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >
> > > _______________________________________________
> > > OpenTRV-dev mailing list
> > > OpenTRV-dev at lists.opentrv.org.uk
> > > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> >
> > _______________________________________________
> > OpenTRV-dev mailing list
> > OpenTRV-dev at lists.opentrv.org.uk
> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > _______________________________________________
> > OpenTRV-dev mailing list
> > OpenTRV-dev at lists.opentrv.org.uk
> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
>
> _______________________________________________
> OpenTRV-dev mailing list
> OpenTRV-dev at lists.opentrv.org.uk
> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opentrv.org.uk/pipermail/opentrv-dev/attachments/20151106/cf479ca6/attachment-0001.html>
-------------- next part --------------










Build options changed, rebuilding all
Using library OTProtocolCC in folder: C:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC (legacy)
Using library SPI in folder: C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI 
Using library Wire in folder: C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire 
Using library OTRadioLink in folder: C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink (legacy)

C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\AltMain.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\AltMain.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Control.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Control.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\FHT8V_Wireless_Rad_Valve.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\FHT8V_Wireless_Rad_Valve.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Messaging.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Messaging.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Power_Management.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Power_Management.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\RFM22_Radio.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\RFM22_Radio.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Schedule.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Schedule.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Security.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Security.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Serial_IO.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Serial_IO.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\UI_Minimal.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\UI_Minimal.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Unit_Tests.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Unit_Tests.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\V0p2_Actuators.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\V0p2_Actuators.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\V0p2_Main.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\V0p2_Main.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\V0p2_Sensors.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\V0p2_Sensors.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC\utility C:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC\utility\OTProtocolCC_OTProtocolCC.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\OTProtocolCC\utility\OTProtocolCC_OTProtocolCC.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI\utility C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI\SPI.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\SPI\SPI.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire\utility C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire\Wire.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Wire\Wire.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire\utility C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire\utility\twi.c -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\Wire\utility\twi.c.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadioLink_CRC.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\OTRadioLink\utility\OTRadioLink_CRC.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadioLink_ISRRXQueue.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\OTRadioLink\utility\OTRadioLink_ISRRXQueue.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadioLink_OTNullRadioLink.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\OTRadioLink\utility\OTRadioLink_OTNullRadioLink.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadioLink_OTRadioLink.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\OTRadioLink\utility\OTRadioLink_OTRadioLink.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_AbstractRadValve.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\OTRadioLink\utility\OTRadValve_AbstractRadValve.cpp.o 
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10605 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp -o C:\Users\jeremy\AppData\Local\Temp\build5256565565518977041.tmp\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp.o 
In file included from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink/utility/OTV0P2BASE_FastDigitalIO.h:27:0,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink/OTV0p2Base.h:47,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_AbstractRadValve.h:31,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:19:
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.h:287:88: error: 'SUBCYCLE_TICK_MS_RD' is not a member of 'OTV0P2BASE'
     static const uint8_t minMotorHBridgeSettleTicks = max(1, minMotorHBridgeSettleMS / OTV0P2BASE::SUBCYCLE_TICK_MS_RD);
                                                                                        ^
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino/Arduino.h:85:24: note: in definition of macro 'max'
 #define max(a,b) ((a)>(b)?(a):(b))
                        ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.h:287:88: error: 'SUBCYCLE_TICK_MS_RD' is not a member of 'OTV0P2BASE'
     static const uint8_t minMotorHBridgeSettleTicks = max(1, minMotorHBridgeSettleMS / OTV0P2BASE::SUBCYCLE_TICK_MS_RD);
                                                                                        ^
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino/Arduino.h:85:32: note: in definition of macro 'max'
 #define max(a,b) ((a)>(b)?(a):(b))
                                ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.h:293:72: error: 'SUBCYCLE_TICK_MS_RD' is not a member of 'OTV0P2BASE'
     static const uint8_t minMotorRunupTicks = max(1, minMotorRunupMS / OTV0P2BASE::SUBCYCLE_TICK_MS_RD);
                                                                        ^
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino/Arduino.h:85:24: note: in definition of macro 'max'
 #define max(a,b) ((a)>(b)?(a):(b))
                        ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.h:293:72: error: 'SUBCYCLE_TICK_MS_RD' is not a member of 'OTV0P2BASE'
     static const uint8_t minMotorRunupTicks = max(1, minMotorRunupMS / OTV0P2BASE::SUBCYCLE_TICK_MS_RD);
                                                                        ^
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino/Arduino.h:85:32: note: in definition of macro 'max'
 #define max(a,b) ((a)>(b)?(a):(b))
                                ^
In file included from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:20:0:
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.h: In member function 'virtual bool OTRadValve::ValveMotorDirectV1HardwareDriver<MOTOR_DRIVE_ML_DigitalPin, MOTOR_DRIVE_MR_DigitalPin, MOTOR_DRIVE_MI_AIN_DigitalPin>::isCurrentHigh(OTRadValve::HardwareMotorDriverInterface::motor_drive) const':
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.h:338:27: error: 'analogueNoiseReducedRead' is not a member of 'OTV0P2BASE'
       const uint16_t mi = OTV0P2BASE::analogueNoiseReducedRead(MOTOR_DRIVE_MI_AIN_DigitalPin, INTERNAL);
                           ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.h:343:10: error: 'analogueNoiseReducedRead' is not a member of 'OTV0P2BASE'
         (OTV0P2BASE::analogueNoiseReducedRead(MOTOR_DRIVE_MI_AIN_DigitalPin, INTERNAL) > miHigh) &&
          ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.h:344:10: error: 'analogueNoiseReducedRead' is not a member of 'OTV0P2BASE'
         (OTV0P2BASE::analogueNoiseReducedRead(MOTOR_DRIVE_MI_AIN_DigitalPin, INTERNAL) > miHigh);
          ^
In file included from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink/utility/OTV0P2BASE_FastDigitalIO.h:27:0,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink/OTV0p2Base.h:47,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_AbstractRadValve.h:31,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:19:
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp: At global scope:
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:43:72: error: 'SUBCYCLE_TICK_MS_RD' is not a member of 'OTV0P2BASE'
 static const uint8_t minMotorDRTicks = max(1, (uint8_t)(minMotorDRMS / OTV0P2BASE::SUBCYCLE_TICK_MS_RD));
                                                                        ^
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino/Arduino.h:85:24: note: in definition of macro 'max'
 #define max(a,b) ((a)>(b)?(a):(b))
                        ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:43:72: error: 'SUBCYCLE_TICK_MS_RD' is not a member of 'OTV0P2BASE'
 static const uint8_t minMotorDRTicks = max(1, (uint8_t)(minMotorDRMS / OTV0P2BASE::SUBCYCLE_TICK_MS_RD));
                                                                        ^
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino/Arduino.h:85:32: note: in definition of macro 'max'
 #define max(a,b) ((a)>(b)?(a):(b))
                                ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:49:36: error: 'GSCT_MAX' is not a member of 'OTV0P2BASE'
 static const uint8_t sctAbsLimit = OTV0P2BASE::GSCT_MAX - max(1, ((OTV0P2BASE::GSCT_MAX+1)/8)) - OTRadValve::ValveMotorDirectV1HardwareDriverBase::minMotorRunupTicks - (uint8_t)(240 / OTV0P2BASE::SUBCYCLE_TICK_MS_RD);
                                    ^
In file included from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink/utility/OTV0P2BASE_FastDigitalIO.h:27:0,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink/OTV0p2Base.h:47,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_AbstractRadValve.h:31,
                 from C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:19:
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:49:68: error: 'GSCT_MAX' is not a member of 'OTV0P2BASE'
 static const uint8_t sctAbsLimit = OTV0P2BASE::GSCT_MAX - max(1, ((OTV0P2BASE::GSCT_MAX+1)/8)) - OTRadValve::ValveMotorDirectV1HardwareDriverBase::minMotorRunupTicks - (uint8_t)(240 / OTV0P2BASE::SUBCYCLE_TICK_MS_RD);
                                                                    ^
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino/Arduino.h:85:24: note: in definition of macro 'max'
 #define max(a,b) ((a)>(b)?(a):(b))
                        ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:49:68: error: 'GSCT_MAX' is not a member of 'OTV0P2BASE'
 static const uint8_t sctAbsLimit = OTV0P2BASE::GSCT_MAX - max(1, ((OTV0P2BASE::GSCT_MAX+1)/8)) - OTRadValve::ValveMotorDirectV1HardwareDriverBase::minMotorRunupTicks - (uint8_t)(240 / OTV0P2BASE::SUBCYCLE_TICK_MS_RD);
                                                                    ^
C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino/Arduino.h:85:32: note: in definition of macro 'max'
 #define max(a,b) ((a)>(b)?(a):(b))
                                ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:49:185: error: 'SUBCYCLE_TICK_MS_RD' is not a member of 'OTV0P2BASE'
 static const uint8_t sctAbsLimit = OTV0P2BASE::GSCT_MAX - max(1, ((OTV0P2BASE::GSCT_MAX+1)/8)) - OTRadValve::ValveMotorDirectV1HardwareDriverBase::minMotorRunupTicks - (uint8_t)(240 / OTV0P2BASE::SUBCYCLE_TICK_MS_RD);
                                                                                                                                                                                         ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp: In member function 'bool OTRadValve::ValveMotorDirectV1HardwareDriverBase::spinSCTTicks(uint8_t, uint8_t, OTRadValve::HardwareMotorDriverInterface::motor_drive, OTRadValve::HardwareMotorDriverInterfaceCallbackHandler&)':
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:73:28: error: 'getSubCycleTime' is not a member of 'OTV0P2BASE'
   const uint8_t sctStart = OTV0P2BASE::getSubCycleTime();
                            ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:90:28: error: 'getSubCycleTime' is not a member of 'OTV0P2BASE'
     const uint8_t newSct = OTV0P2BASE::getSubCycleTime();
                            ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:110:30: error: 'getSubCycleTime' is not a member of 'OTV0P2BASE'
       const uint8_t newSct = OTV0P2BASE::getSubCycleTime();
                              ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp: In member function 'void OTRadValve::CurrentSenseValveMotorDirect::poll()':
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:505:21: error: 'getSubCycleTime' is not a member of 'OTV0P2BASE'
             } while(OTV0P2BASE::getSubCycleTime() <= sctAbsLimitDR);
                     ^
C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink\utility\OTRadValve_ValveMotorDirectV1.cpp:530:21: error: 'getSubCycleTime' is not a member of 'OTV0P2BASE'
             } while(OTV0P2BASE::getSubCycleTime() <= sctAbsLimitDR);
                     ^
Error compiling.


More information about the OpenTRV-dev mailing list