{"id":19119340,"url":"https://github.com/thebeachmaster/pic-lcd","last_synced_at":"2026-02-02T06:09:22.887Z","repository":{"id":85933668,"uuid":"125628276","full_name":"TheBeachMaster/pic-lcd","owner":"TheBeachMaster","description":"Sample PIC routine with LCD Display","archived":false,"fork":false,"pushed_at":"2018-03-17T23:58:31.000Z","size":232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T20:38:55.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheBeachMaster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-03-17T12:45:05.000Z","updated_at":"2018-03-17T23:58:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"0aa52d54-5a37-445b-a974-3c64231765ab","html_url":"https://github.com/TheBeachMaster/pic-lcd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheBeachMaster/pic-lcd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBeachMaster%2Fpic-lcd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBeachMaster%2Fpic-lcd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBeachMaster%2Fpic-lcd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBeachMaster%2Fpic-lcd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheBeachMaster","download_url":"https://codeload.github.com/TheBeachMaster/pic-lcd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBeachMaster%2Fpic-lcd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29006770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T05:09:16.482Z","updated_at":"2026-02-02T06:09:22.867Z","avatar_url":"https://github.com/TheBeachMaster.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pic-lcd\n\nGetting Started with MPLAB-X-IDE - PIC16F877A LCD Sample\n\n## Prep-work\n\n+ Download and install [MPLAB-X-IDE](https://www.microchip.com/mplab/mplab-x-ide)\n+ Download and setup [XC-N[8,16,32]](https://www.microchip.com/mplab/compilers) Compilers. Ensure all are added to path.\n\n## Create a PIC16F877A project \n\n+ On your new MPLAB X-IDE **Create A New Project** by clicking on the *File* option or use  **Ctrl+Shift+N** key options.\n+ Select **Standalone Project**   \n+ On Clicking *Next* Select the **Mid-Range 8-bit MCUs (PIC10/12/16/MCP)** Familiy of MCUs. \n+ Under *Device* scroll or put in **PIC16F877A**  \n+ Select **PICkit3** under *Tools* on clicking *Next* \n+ On the next window select the **XC8** compiler \n+ Finish off by specifying your project directory\n\n## Compile Library \n\n```bash \n\u003e xc8 --chip=16F877a  --output=lpp .\\lib\\lcd.c --outdir=lib\n\n... For Windows\n``` \n \n```bash \n$  xc8 --chip=16F877a  --output=lpp ./src/lcd.c --outdir=./lib\n \n... Unix-like \n```\n\n# Include prebuilt library into project\n+ Right-click on project and Select **Properties\u003eLibraries\u003eAdd Library/Object File** \n+ Select the `.lpp` that was generated above \n+ Go back to project window and right-click on **Source Files\u003eAdd Existing Item** and select the library source file `\u003clib\u003e.c` . Ensure *Store path* is set to **Auto** or **Relative** depending on which you're comfortable with.\n+ Under the same Source Files options Right click to add a **New\u003emain.c** file\n+ Right-click on the **Header Files** option to **Add Existing Item** \n+ Select the header files for the libary `\u003clib\u003e.h` \n+ That's it, ensure to include your library files in the `\u003cmain-source-file\u003e.c` file as well.\n  ```c \n  #include \"path_to_lib_file.h\" \n  ```\n+ **Build** \n\n\u003e Generated `.hex` code is found in the `dist` folder \n \n\u003e Project details can be obtained from [this link](https://electrosome.com/automatic-power-factor-controller-using-microcontroller/) ![schematic diagram](https://electrosome.com/wp-content/uploads/2013/05/Automatic-Power-Factor-Controller-using-PIC-Microcontroller-Circuit-Diagram.jpg) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebeachmaster%2Fpic-lcd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebeachmaster%2Fpic-lcd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebeachmaster%2Fpic-lcd/lists"}