octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: arduino package testing


From: JohnD
Subject: RE: arduino package testing
Date: Tue, 30 Apr 2019 13:10:30 -0400


From: Doug Stewart [mailto:address@hidden 
Sent: Tuesday, April 30, 2019 10:45 AM
To: John Donoghue
Cc: Octave Maintainers List
Subject: Re: arduino package testing



On Sat, Apr 27, 2019 at 7:37 PM Doug Stewart <address@hidden> wrote:


On Fri, Apr 26, 2019 at 6:36 PM John Donoghue <address@hidden> wrote:
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 


--------------------------


The file is generated and only exists  whilst the Arduino IDE is open - with 
the IDE open, I usually just select the file from the list of files of the 
currently open project.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]