{"id":23317173,"url":"https://github.com/adnksharp/ino-functions","last_synced_at":"2025-04-07T03:53:41.227Z","repository":{"id":52636162,"uuid":"521054810","full_name":"adnksharp/ino-functions","owner":"adnksharp","description":"Funciones personalizadas con Arduino en nodeMCU ESP8266","archived":false,"fork":false,"pushed_at":"2022-08-23T01:18:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"base","last_synced_at":"2025-01-14T07:52:35.478Z","etag":null,"topics":["arduino-sketch","nodemcu-esp8266"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adnksharp.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-03T22:51:43.000Z","updated_at":"2023-06-27T19:38:49.000Z","dependencies_parsed_at":"2022-08-21T23:00:54.689Z","dependency_job_id":null,"html_url":"https://github.com/adnksharp/ino-functions","commit_stats":null,"previous_names":["adnksharp/ino-functions","adnksharp/efunctions"],"tags_count":null,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fino-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fino-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fino-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fino-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adnksharp","download_url":"https://codeload.github.com/adnksharp/ino-functions/tar.gz/refs/heads/base","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238621868,"owners_count":19502744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino-sketch","nodemcu-esp8266"],"created_at":"2024-12-20T16:20:41.016Z","updated_at":"2025-02-13T08:28:43.443Z","avatar_url":"https://github.com/adnksharp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Functions in Arduino with nodeMCU ESP8266\n\n[![node-Functions-bb.png](https://i.postimg.cc/FKc571LS/node-Functions-bb.png)](https://postimg.cc/mcb6nLVZ)\n\nControl de pines de salida de la placa nodeMCU ESP8266 usando funciones.\n\n\n## Hardware y software necesarios\n- Placa de desarrollo nodeMCU ESP8266.\n- 8 resistencias entre $\\displaystyle 220\\Omega$ y $\\displaystyle 470\\Omega$.\n- 8 LEDs.\n- [Arduino IDE](https://www.arduino.cc/en/software) o [Arduino CLI](https://arduino.github.io/arduino-cli/0.23/installation/).\n\n## Funcionamiento\n### Variables\n- `node`: pines a usar.\n- `i`: variable para el funcionamiento de bucles.\n\n### Funciones\n#### `SetPins()`\nSe definen los pines como:\n- `0`: Entradas.\n- `1`: Salidas.\n- `-1`: Pines no usados.\n\n#### `SelectPin()`\nContador entre 1 y 9.\n\n#### `OutOnOff()`\nCombinación de las funciones `digitalWirte` y `delay` para poner salidas en alto, pausar, ponerlas en bajo y pausar nuevamente.\n\n### Funcionamiento\nUsando la función `SetPins` se definen los pines como salidas. \nUsando la variable `i` y la función `SelectPin` se define el pin a encender y apagar durante 200 milisegundos con la función `OutOnOff`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnksharp%2Fino-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadnksharp%2Fino-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnksharp%2Fino-functions/lists"}