octave-maintainers
[Top][All Lists]
Advanced

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

RE: Octave-maintainers Digest, Vol 156, Issue 34


From: JohnD
Subject: RE: Octave-maintainers Digest, Vol 156, Issue 34
Date: Wed, 20 Mar 2019 12:10:55 -0400

> ------------------------------
> 
> Message: 3
> Date: Wed, 20 Mar 2019 05:05:11 -0500 (CDT)
> From: Igor1954 <address@hidden>
> To: address@hidden
> Subject: Re: arduinosetup error
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
> 
> Thank you, John.
> 
> I run :
> 
> 1. I connected arduino board.
> 
> 2. Octave:
> arduinosetup('arduinobinary','C:\Program Files\Arduino/arduino.exe')
> Running "C:\Program Files\Arduino/arduino.exe"
> "C:\Users\50B9~1\AppData\Local\Temp\oct-tB4Quv\octave\
> octave.ino"
> 
> 3. Then  in the Arduino IDE opened a sketch Octave.
> 
> 4. I press the upload button on the IDE.
>   Download completed successfully.
> 
> 4.  I closed Arduino IDE.
> 
> 
> 5.  r = arduino()
> r =
>   arduino object with fields of:
>     port = COM4
>     board = uno
>     libraries = {
>       core
>       i2c
>       spi
>       servo
>       shiftregister
>     }
>     availablepins = {
>       d0 - d13
>       a0 - a5
>     }
> 
> 6.?????
> scanForArduinos
> ans = {}(0x0)
> 
> Question.
> 1. List the ports of all programmed available arduinos missing?
> 2. I ask to clarify - when should I restart arduino ide? After n.4?
> 
> 


Since you have the port already open in  5, scanForArduinos isn't going to
check that port.
If you clear that Arduino variable , or restart octave, and then call
scanForArduinos, it should show it. 

After programming the Arduino you don't need to reopen the Arduino ide,
unless you want to program it again




reply via email to

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