Git Product home page Git Product logo

pic18f4520_mplabxprojects's Introduction

PIC18F4520_MPLABXProjects

This repository contains several MPLABX Projects and some libraries to understand how to use a specific PIC18F4520 Development Board. This development board is designed by me and it is currently used in EEX 237 - Introduction to Microprocesses course of Fatih University, Istanbul, Turkey. I am the responsible Teaching Assistant of this course.

Aim of sharing these projects is reaching to and developing the projects easier by my students and people who may be interested.

alt tag

To be able to run my projects:

1- Latest MPLAB X IDE program needs to be installed. (MPASM compiler is included to this installation.) http://www.microchip.com/mplab/mplab-x-ide

2- XC8 Compiler v1.34 needs to be installed. (C compiler for 8-bit PIC microcontrollers) http://www.microchip.com/mplab/compilers

The reason of using XC8 Compiler v1.34 instead of latest v1.36 is peripheral libraries (plibs) are not included to v1.36. You need to install "PIC18F Legacy Peripheral Libraries v2.0 - Windows" to use plibs. But microchip could not do it right and it causes errors. Safest way to use my projects is using XC8 Compiler v1.34 until microchip handles errors.

3- Folder hierarchy is important to use my libraries. You shouldn't change the folder hierarchy. For example, Libraries and PIC18F4520-XC8-LED.X folders should have equal hierarchy which means that they should be in the same directory.

4- If you want to use my Libraries in your own projects,

Firstly, your project folder should be in same directory with Libraries folder.

Secondly, right click to your project name in project window of MPLAB X IDE program. Then select Properties > Categories > Conf: [default] > XC8 global otions > XC8 compiler > Include directories. Insert "..\Libraries" to Include directories. Then, press OK.

Now, you can include any of my library in your code, by calling it like #include "pic18f4520_config.h".

5- In order to use plib libraries I recommend to use XC8 Compiler v1.34 instead of v1.36.

If you have installed multiple XC8 Compiler versions, you can select v1.34, as follows: Right click to your project name in project window of MPLAB X IDE program. Then select Properties > Categories > Conf: [default]. Select XC8 (v1.34) from Compiler Toolchain section. Then, press OK.

pic18f4520_mplabxprojects's People

Contributors

burakenez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.