Skip to content

Strings for serial port definition#1

Open
Jantek wants to merge 1 commit into
tanchinluh:masterfrom
Jantek:master
Open

Strings for serial port definition#1
Jantek wants to merge 1 commit into
tanchinluh:masterfrom
Jantek:master

Conversation

@Jantek
Copy link
Copy Markdown

@Jantek Jantek commented Mar 27, 2020

I noticed that for Linux only devices with '/dev/ttyACMx' can be used. I got an cheap Arduino Nano here and it is connected to my PC as '/dev/ttyUSB0'. I added the option to give the device instead of the number. See here:

image

As far as I can test it the old scheme with the number still works.

I also changed the numbering so any number can be given. 13 would lead to '/dev/ttyACM13' for example.

@tanchinluh
Copy link
Copy Markdown
Owner

tanchinluh commented Mar 27, 2020 via email

@Jantek
Copy link
Copy Markdown
Author

Jantek commented Mar 27, 2020

Sorry what do you mean? I am new to scilab.

@Jantek
Copy link
Copy Markdown
Author

Jantek commented Mar 27, 2020

Or do you mean symbolic link in linux like:

ln -s /dev/ttyUSB0 /dev/card1

@tanchinluh
Copy link
Copy Markdown
Owner

tanchinluh commented Mar 28, 2020 via email

@Jantek
Copy link
Copy Markdown
Author

Jantek commented Mar 30, 2020

Hi,

I tested with:

ln -s /dev/ttyUSB0 /tmp/card1

image

@Jantek
Copy link
Copy Markdown
Author

Jantek commented Apr 3, 2020

Yes, linux symbolic link, let me know if it works.

On Sat, 28 Mar 2020, 3:27 am Jan Phillip Willmann, @.***> wrote: Or do you mean symbolic link in linux like: ln -s /dev/ttyUSB0 /dev/card1 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOS6SFBSVWP5QXZ67HNQ4DRJT4YJANCNFSM4LVCZZYA .

It does ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants