Skip to content

Instantly share code, notes, and snippets.

@gfhuertac
Last active March 22, 2018 19:39
Show Gist options
  • Save gfhuertac/ad2827c3abbe7e7212974b7f9293b744 to your computer and use it in GitHub Desktop.
Save gfhuertac/ad2827c3abbe7e7212974b7f9293b744 to your computer and use it in GitHub Desktop.
Pasos para desafío 2 Artik - GPIO

Paso 1: abrir el IDE de Artik y crear un proyecto nuevo

Iremos a crear un nuevo proyecto, y elegiremos uno de tipo C

  • Luego, elegiremos Artik 5/7 Fedora C Project
  • Colocaremos un nombre
  • Siguiente

Elegiremos GPIO del menú Examples

  • Finalizar

Paso 2: Configurar el circuito para nuestros sensores

Cada sensor se debe configurar como es debido

Para ver el mapeo de pines ir al (sitio de Artik](https://developer.artik.io/documentation/developer-guide/gpio/gpio-mapping.html)

Paso 3: cambiar el código

Ejemplo de (Digital Output)[https://developer.artik.io/documentation/artik/tutorials/blink-an-led.html]

Ejemplo de (Digital Input)[https://developer.artik.io/documentation/artik/tutorials/read-a-button.html]

Ejemplo de (Analog Read)[https://developer.artik.io/documentation/developer-guide/gpio/kernel-gpio.html#adc-interface]

Paso 4: Ejecutar el programa desde el IDE

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