Coder Social home page Coder Social logo

gavinlyonsrepo / pic_18f47k42_projects Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 6.0 649 KB

A set of projects and libraries for a Microchip PIC 18F47K42 Micro-controller. 40 pin, 8 bit , XC8.

Home Page: https://gavinlyonsrepo.github.io/

License: MIT License

C 100.00%
oled-display-ssd1306 oled-ssd1306 pic pic-microcontroller pic-mcu pic18f47k42 pic18f mircochip pic-micro-controllers 18f47k42

pic_18f47k42_projects's Introduction

Website Rss Donate

PIC18F47K42

Project List

A set of projects and libraries for the 40-pin, 8-bit PIC 18F47K42 Microcontroller, made by Microchip. Each project is the relevant sub folder at url link. All code is written in C (xc8 compiler).

Num Description Link
1 OLED I2C SSD1306 controller library (Graphics & text) URL
2 Nokia 5110 LCD PCD8544 controller library (Graphics & text) URL
--- --- ---

pic_18f47k42_projects's People

Contributors

gavinlyonsrepo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pic_18f47k42_projects's Issues

Three things need to be corrected

In the file "pic_18F47K42_projects/projects/OLED_GRAPH/SSD1306OLED.c is missing this inlcude ->
#include "mcc_generated_files/examples/i2c1_master_example.h"

And you need to rename the functions that are in line 758 and 769 in the same "SD1306OLED.c" file ->
line 758
current function= i2c_writeNBytes(SSD1306_ADDR, data_I2C, 2);
correct function= I2C2_WriteNBytes(SSD1306_ADDR, data_I2C, 2);

line769
current function= i2c_writeNBytes(SSD1306_ADDR, data_I2C, 2);
correct function= I2C2_WriteNBytes(SSD1306_ADDR, data_I2C, 2);

After that everything works perfectly, thanks for sharing your code you have saved me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.