On 4/26/19 3:00 PM, JohnD wrote:
>
> From: Doug Stewart [mailto:address@hidden]
> Sent: Friday, April 26, 2019 1:30 PM
> To: JohnD
> Cc: Octave Maintainers List
> Subject: Re: arduino package testing
>
>
>
> On Fri, Apr 26, 2019 at 12:51 PM JohnD <address@hidden> wrote:
> Whoops – should be
>
> arduinosetup(‘libraries’, listArduinoLibraries('core'))
>
>
>
>
> the single quotes were still wrong.
> arduinosetup('libraries', listArduinoLibraries('core'))
> this worked.
>
>
> I got
> Summary:
>
> PASS 135
> FAIL 8
>
>
Running on my setup, I can get it programmed without the rotary encoder
if I use default libraries, but if I run as:
arduinosetup ('libraries', listArduinoLibraries('core'))
.. It programs the rotary endcoder as well.
Note that currently, if the propertyname isnt a known one (ie: was spelt
wrong) it will silently ignore it, which would then mean it would
program the default libraries (ie: no rotary encoder)
When the arduino IDE is open, it you look at the sources settings.h
file, there should be an uncommented #define USE_ROTARYENCODER
Here is a little scope prog that I wrote
https://paste.ubuntu.com/p/7n2rMYctVF/
I will see what I can find about the rotaryencoder and report here.
I found this in the file called octave:
#ifdef USE_ROTARYENCODER
#include "OctaveRotaryEncoderLibrary.h"
OctaveRotaryEncoderLibrary lib5(octavearduino);
#endif
so it should work.
I did not find a file called: settings.h