Example Python and EasyMDB RS232

 In Uncategorized
[:es]En este ejemplo usaremos el compilador IDLE y Phyton comunicandose con el controlador EasyMDB RS232
Los pasos son los siguientes:

  1. Instalar phyton
    https://www.python.org/
  2. Instalar PySerial
    El link de instalación es https://pypi.python.org/pypi/pyserial
  3. Una vez instalado, abrir el compilador IDLE y crear un nuevo documento
  4. Copiar el código de abajo, y pegar en el nuevo documento
  5. Presionar F5 y correr la aplicación

[:en]

In this example, we use IDLE and Python for communication with EasyMDB RS232.

From wikipedia

“Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes codereadability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. The language provides constructs intended to enable clear programs on both a small and large scale.”

The steps for run the demo are:

Version 1.0.1

  • Add Dispense coin function

  • Add level parameter into Init Coin Changer function

Version 1.0.2

  • Add Display MDB function


 

[:]
Recent Posts

Leave a Comment

0

Start typing and press Enter to search