Navegando por
Etiqueta: commandline

Ethernet Configuration from EEPROM using the Commandline

Ethernet Configuration from EEPROM using the Commandline

Requirements CmdLine library https://github.com/IndustrialShields/arduino-CmdLine   Description Configure the Ethernet parameters saved in the EEPROM: MAC address and DHCP/IP address. It is used the EEPROM library to store configuration parameters. The ‘cont_t’ structure defines the parameters that will be saved into the EEPROM: type and name. In this case the parameters are used to save the Ethernet configuration, so it is used also the Ethernet library (Ethernet/Ethernet2). *Ethernet for v7 and Ethernet2 for PLUS version. It is possible to add more…

Leer más Leer más

Command Line Arduino library

Command Line Arduino library

Requirements Arduino IDE: http://www.arduino.cc  (v 1.8.0 or above) CmdLine library: https://github.com/IndustrialShields/arduino-CmdLine   Installation https://www.arduino.cc/en/Guide/Libraries#toc4   Description Add a command line utility to the Arduino. You can type customizable commands to the Arduino board through a Serial port to execute functions. For example, you can add a command “set-ip 192.168.1.10” to set the PLC IP address. Of course, you MUST implement the function which sets the IP address.   Example You MUST define a set of commands with the associated functions…

Leer más Leer más

HOW TO UPLOAD A SKETCH TO A MDUINO/ARDBOX USING THE COMMAND LINE. LINUX

HOW TO UPLOAD A SKETCH TO A MDUINO/ARDBOX USING THE COMMAND LINE. LINUX

In this post it will be seen how to upload a sketch using the command line instead of using Arduino IDE. This is an introduction for a newer post in which we will show how to upload remotely a sketch using the command line. Without further delay we will see how this process can be achieved. First of all we need to know that for uploading a sketch using the command line it is necessary to use the program avrdude….

Leer más Leer más