TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140168 times)
  2. FAT32 Library (72621 times)
  3. Network Ethernet Library (57642 times)
  4. USB Device Library (47955 times)
  5. Network WiFi Library (43553 times)
  6. FT800 Library (42942 times)
  7. GSM click (30140 times)
  8. mikroSDK (28669 times)
  9. PID Library (27057 times)
  10. microSD click (26552 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

Andrew Hazelden's Mikromedia Gaming Shield Library

Rating:

5

Author: Andrew Hazelden

Last Updated: 2014-10-22

Package Version: 0.2.0.2

Category: Gaming and Fun

Downloaded: 1069 times

Followed by: 1 user

License: MIT license  

This is an input library for the MikroElektronika Mikromedia Gaming Shield. It is compatible with the Mikromedia dsPIC33 and PIC32 boards. The library is designed to get you started with the Gaming Shield and provides control over the 4 LEDs on the Gaming Shield and reads the inputs from the buttons.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Andrew Hazelden's Mikromedia Gaming Shield Library" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Andrew Hazelden's Mikromedia Gaming Shield Library" changes.

Do you want to report abuse regarding "Andrew Hazelden's Mikromedia Gaming Shield Library".

  • Information
  • Comments (3)

Library Blog

Mikromedia Gaming Shield Library Video

Today I would like to show you a new software library for the MikroElektronika Mikromedia system. The new Gaming Shield Library makes it easier to develop code that will run on both Microchip dsPIC and PIC32 microcontrollers.

Watch on YouTube
Available for dsPIC33 and PIC32

Available for dsPIC33 and PIC32

This photo shows the gaming shield library running on the Mikromedia dsPIC33 and PIC32 systems.

View full image
The MMB Input Demo tests your gaming shield.

The MMB Input Demo tests your gaming shield.

The included VisualTFT project "MMB Input Demo" allows you to test the new library with your Mikromedia board and gaming shield.

View full image
The MMB Input demo lets you explore the Mikromedia gaming shield library

The MMB Input demo lets you explore the Mikromedia gaming shield library

Using the MMB Input demo you can toggle the Gaming Shield LEDs using the touch screen and see a visual representation of the active gaming shield buttons.

View full image

You can use the file "gaming-shield.h" in your projects to interface with the MMB Gaming Shield. The included example Visual TFT project file "mmbInput.vtft" shows a demo of the Gaming Shield Input Library.

The code was written using MikroC Pro for PIC32 and dsPIC33 and VisualTFT 2.70.

Installation

  1. Install Firmware: Flash the firmware file mmbInput-dsPIC33.hex to your Mikromedia dsPIC33 board or the firmware file mmbInput-PIC32.hex to your mikromedia PIC32 board.
  2. Copy the resource file mmbInput.RES to your Mikromedia board's SD card.
  3. Get ready to try out the Gaming Shield Library! You can press any of the buttons on the gaming shield and see the icons on the screen update. The status LED icons on the MMB touch screen will respond to your input and turn the gaming shield LEDs ON or OFF. The lower right part of the MMB screen will indicate the current microprocessor with the text "dsPIC" or "PIC32".

Open Source Software License

 BSD License

Development Board Hardware Required

MikroMMB for PIC32  or MikroMMB for dsPIC33

Controller

Mikromedia GAMING Shield

ALSO FROM THIS AUTHOR

ACH Thumbstick Click RPi Demo

4

The python based thumbstick.py demo allows you to read a MikroElektronika Thumbstick Click board on a Raspberry PI using the GPIO and SPI inputs via a Pi Click Shield. The Thumbstick Click board uses an SPI based MCP3204 module for reading the joystick axes and the joystick "center click" button is read using the GPIO input 17 on the Raspberry Pi.

[Learn More]

Using a GPS Click on a Raspberry Pi

5

gps2udp is a script that connects a MikroElektronika GPS click board via USB to a Raspberry PI. The serial GPS data is pushed out through a UDP socket onto the network interface. The GPS is set to run at 115200 baud using the stty command.

[Learn More]

Mikromedia VR Head Tilt Demo

0

The demo uses a pair of Mikromedia boards and a Google Cardboard head mounted display to create a PIC32 microcontroller driven stereoscopic 3D view that responds interactively to the accelerometer sensor's tilt input. The code was written using MikroC Pro for PIC32 and VisualTFT.

[Learn More]