Modifications

Sauter à la navigation Sauter à la recherche
71 octets supprimés ,  13 décembre 2017 à 20:44
Ligne 29 : Ligne 29 :  
Connecting to the serial terminal on is more straightforward than on Windows. Neither OS requires additional drivers.
 
Connecting to the serial terminal on is more straightforward than on Windows. Neither OS requires additional drivers.
   −
First open a terminal program. On Mac OSX, Terminal comes installed and <a href="https://www.iterm2.com/">iTerm2</a> can be downloaded. On Linux there are a variety available such as gnome-terminal (called Terminal) and Konsole on KDE.
+
First open a terminal program. On Mac OSX, Terminal comes installed and [https://www.iterm2.com/ iTerm2] can be downloaded. On Linux there are a variety available such as gnome-terminal (called Terminal) and Konsole on KDE.
    
Now before plugging in the board, type <code>ls /dev/tty.*</code> to view existing serial connections.
 
Now before plugging in the board, type <code>ls /dev/tty.*</code> to view existing serial connections.
Ligne 41 : Ligne 41 :  
Now that we know the device name, the <code>screen</code> command can be used to connect to the serial port. Its installed on Mac OSX by default but Linux users may need to install it using their package manager. Run the following command to connect at 115200 baud:
 
Now that we know the device name, the <code>screen</code> command can be used to connect to the serial port. Its installed on Mac OSX by default but Linux users may need to install it using their package manager. Run the following command to connect at 115200 baud:
   −
<syntaxhighlight lang="python">
+
<syntaxhighlight lang="bash">
screen /dev/tty.board_name 115200</pre>
+
screen /dev/tty.board_name 115200
 
</syntaxhighlight>
 
</syntaxhighlight>
   −
<syntaxhighlight lang="python">
  −
</syntaxhighlight>
     −
Where''' /dev/tty.board_name''' is the name of the board's serial port.
+
Where '''/dev/tty.board_name''' is the name of the board's serial port.
    
When you're done using screen most versions of it allow you to exit by pressing '''Ctrl-a''' then '''k''' then '''y '''or pressing '''Ctrl-a''' then typing ''':quit''' and pressing '''enter'''.
 
When you're done using screen most versions of it allow you to exit by pressing '''Ctrl-a''' then '''k''' then '''y '''or pressing '''Ctrl-a''' then typing ''':quit''' and pressing '''enter'''.
29 917

modifications

Menu de navigation