Giter VIP home page Giter VIP logo

basys-mx3-library's Introduction

Basys MX3 Library Pack

BasysMX3 incorporates a wide range of modules. Digilent provides a set of libraries, allowing user easy access to each module’s functionality.

Basically, these libraries hide the hardware implementation details; they are wrappers over the lower level functions that access the registers, allowing the user to call the needed functionality in an easy and intuitive manner.

These libraries are designed to work in the MPLAB X IDE provided by Microchip.

Using the Library

Normally each library has a .c and .h file. In order to use this library:

  • include in your project the .c and .h files corresponding to the module you want to use (for example led.c and led.h). This can be easily done by copying the files in the project folder and then Add Existing Item (right mmouseclick on the project source folders and project header files folders.
  • In your code, include the header of the module
#include "led.h"
  • In your code, call the needed functions, for example:
LED_Init();  
LED_SetValue(4, 1); //turn on LED4

Using these libraries is not required in order to access the Basys MX3 devices, of course you can write your own functionality (possibly using the libraries as inspiration).

Additional Library Documentation

The usage of each library is documented in the library's .c and .h file. An overview of all the libraries is found in the Basys_MX3_LibPack_UG.docx Word document.

Demos

Demos that use each of the libraries are found in the Demos folder. They are provided as MPLAB X projects.

Known Issues

basys-mx3-library's People

Contributors

cristianfatu avatar monicaignat avatar sbobrowicz avatar tom21091 avatar

Watchers

 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.