{"id":21341214,"url":"https://github.com/choaib-elmadi/getting-started-with-pic16f877a","last_synced_at":"2025-06-12T18:34:09.740Z","repository":{"id":239838451,"uuid":"791307621","full_name":"Choaib-ELMADI/getting-started-with-pic16f877a","owner":"Choaib-ELMADI","description":"Getting started with the pic16f877a microcontroller (Peripheral Interface Controller).","archived":false,"fork":false,"pushed_at":"2025-03-18T11:08:14.000Z","size":3935,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T21:12:55.627Z","etag":null,"topics":["microcontroller","microprocessor","peripherals","pic","pic16","pic16f","pic16f877a","pic16f887"],"latest_commit_sha":null,"homepage":"","language":"SWIG","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/Choaib-ELMADI.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-24T13:35:10.000Z","updated_at":"2025-04-05T13:44:00.000Z","dependencies_parsed_at":"2024-05-27T19:54:43.020Z","dependency_job_id":"ba1613c9-0a04-418c-8d53-f0b948af6cec","html_url":"https://github.com/Choaib-ELMADI/getting-started-with-pic16f877a","commit_stats":null,"previous_names":["choaib-elmadi/getting-started-with-pic16f877a"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Choaib-ELMADI/getting-started-with-pic16f877a","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Choaib-ELMADI%2Fgetting-started-with-pic16f877a","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Choaib-ELMADI%2Fgetting-started-with-pic16f877a/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Choaib-ELMADI%2Fgetting-started-with-pic16f877a/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Choaib-ELMADI%2Fgetting-started-with-pic16f877a/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Choaib-ELMADI","download_url":"https://codeload.github.com/Choaib-ELMADI/getting-started-with-pic16f877a/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Choaib-ELMADI%2Fgetting-started-with-pic16f877a/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259519264,"owners_count":22870330,"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":["microcontroller","microprocessor","peripherals","pic","pic16","pic16f","pic16f877a","pic16f887"],"created_at":"2024-11-22T00:55:49.617Z","updated_at":"2025-06-12T18:34:09.732Z","avatar_url":"https://github.com/Choaib-ELMADI.png","language":"SWIG","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Choaib ELMADI - Microcontrollers](https://img.shields.io/badge/Choaib_ELMADI-Microcontrollers-8800dd)](https://elmadichoaib.vercel.app) ![Status - Building](https://img.shields.io/badge/Status-Building-2bd729) ![Platform - PIC16F877A](https://img.shields.io/badge/Platform-PIC16F877A-f7d620) [![Credit - SM training academy](https://img.shields.io/badge/Credit-SM_training_academy-3b8af2)](https://www.youtube.com/@SMtrainingacademy)\n\n# Getting Started with PIC16F877A\n\nWelcome to the `getting-started-with-pic16f877a` repository! This repository is designed to help you learn about the PIC16F877A microcontroller through a variety of resources and projects.\n\n## Repository Structure\n\nThe repository is structured as follows:\n\n- **Docs**: This folder contains multiple text files and images to explain various concepts related to the PIC16F877A microcontroller.\n- **MPLAB Projects**: Here, you'll find PIC16F877A projects written in assembly language for use with MPLAB IDE.\n- **MPLABX Projects**: This folder contains PIC16F877A projects written in C language for use with MPLAB X IDE and Micro C compiler.\n- **Proteus 8**: Here, you'll find simulations of the projects created in MPLAB and MPLABX.\n\n![Note](https://img.shields.io/badge/NOTE:-fb151a)\n\nProjects in the **\"MPLAB Projects\"**, **\"MPLABX Projects\"**, and **\"Proteus 8\"** folders have the same name for easy reference and correlation between code and simulation.\n\n## Uploading Code to PIC16F877A\n\n### Case 1: With Development Board and Programmer\n\nIf you have a development board and a programmer:\n\n![With Development Board and Programmer](./Docs/0.%20Upload%20Code/0.1%20upload-code__dev-board.png)\n\n### Case 2: Only PIC with Programmer\n\nIf you have only the PIC16F877A microcontroller and a programmer:\n\n![Only PIC with Programmer](./Docs/0.%20Upload%20Code/0.2%20upload-code__microcontroller.png)\n\n## Interrupt Service Routine Function Prototype\n\nWhen using MPLAB X IDE, the syntax for defining an interrupt service routine (ISR) depends on whether you are using C99 or C90 standards.\n\n### Using C99\n\nFor C99, the interrupt function is written as follows:\n\n```cpp\nvoid __interrupt() interruptFunctionName(void);\n```\n\n### Using C90\n\nFor C90, the interrupt function is written as follows:\n\n```cpp\nvoid interrupt interruptFunctionName(void);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoaib-elmadi%2Fgetting-started-with-pic16f877a","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchoaib-elmadi%2Fgetting-started-with-pic16f877a","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoaib-elmadi%2Fgetting-started-with-pic16f877a/lists"}