{"id":23317170,"url":"https://github.com/adnksharp/ino-analogwrite","last_synced_at":"2025-04-07T03:53:42.429Z","repository":{"id":40823029,"uuid":"508071604","full_name":"adnksharp/ino-analogwrite","owner":"adnksharp","description":"Simular salidas analógicas con Arduino","archived":false,"fork":false,"pushed_at":"2022-08-10T04:56:15.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"base","last_synced_at":"2024-12-20T16:20:32.713Z","etag":null,"topics":["arduino-sketch"],"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-06-27T21:49:38.000Z","updated_at":"2023-06-27T19:25:34.000Z","dependencies_parsed_at":"2022-08-10T06:47:58.803Z","dependency_job_id":null,"html_url":"https://github.com/adnksharp/ino-analogwrite","commit_stats":null,"previous_names":["adnksharp/ino-analogwrite"],"tags_count":null,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fino-analogwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fino-analogwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fino-analogwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fino-analogwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adnksharp","download_url":"https://codeload.github.com/adnksharp/ino-analogwrite/tar.gz/refs/heads/base","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238621855,"owners_count":19502741,"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"],"created_at":"2024-12-20T16:20:39.779Z","updated_at":"2025-02-13T08:28:43.930Z","avatar_url":"https://github.com/adnksharp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Analog Write\n\n[![awrite-bb.png](https://i.postimg.cc/pTyj3NV2/awrite-bb.png)](https://postimg.cc/9R5zqnqS)\nUsar salidas PWM para simular salidas analogicas\n\n## Hardware y software necesarios\n- Placa de desarrollo Arduino \n- LED\n- Resistencia 220 $\\displaystyle \\Omega$ - 1 $\\displaystyle K\\Omega$\n- [Arduino IDE](https://www.arduino.cc/en/software) o [Arduino CLI](https://arduino.github.io/arduino-cli/0.23/installation/)\n\n\nEl codigo imprime valores en una salida PWM de 0 a 255 y 255 a 0 usando: \n\n| Variable | [Tipo](https://docs.microsoft.com/en-us/cpp/cpp/data-type-ranges?view=msvc-170) | Descripción |\n| -------- | ---- | ----------- | \n| Out | byte | pin de [salida PWM](https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/) |\n| Brightness | byte | valor de la salida PWM |\n| Fade | byte | velocidad de la salida PWM |\n| Delay | byte | tiempo de espera entre cambios de estado |\n\n[![awrite-esquem-tico.png](https://i.postimg.cc/d1XCYWDG/awrite-esquem-tico.png)](https://postimg.cc/S26RLf6K)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnksharp%2Fino-analogwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadnksharp%2Fino-analogwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnksharp%2Fino-analogwrite/lists"}