Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (704 codes)
  2. Shawon Shahryiar (258 codes)
  3. Alcides Ramos Zambrano (169 codes)
  4. Dany (66 codes)
  5. S P (66 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Armstrong Subero (26 codes)
  9. Roman Toropov (26 codes)
  10. FOURNET Olivier (25 codes)

Most Downloaded

  1. Timer Calculator (93049 times)
  2. FAT32 Library (48644 times)
  3. Network Ethernet Library (44200 times)
  4. USB Device Library (34387 times)
  5. Network WiFi Library (31723 times)
  6. FT800 Library (27348 times)
  7. GSM click (21465 times)
  8. PID Library (21318 times)
  9. microSD click - Example (17566 times)
  10. GSM 2 click (14487 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: 2012-12-01

Category: Gaming and Fun

Downloaded: 889 times

Followed by: 1 user

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

DigitalPOI - Persistence of Vision Display

24

The Digital Poi Spinning device can write text, draw small icons, and display patterns as you spin it around. It works by encoding your visual data onto a series of 8 LEDs that are spun like a fire spinning poi.

[Learn More]

Mini-Sub Game Demo

10

Navigate a mini-sub through a treacherous ocean filled with naval sea mines. The Mini-Sub Game demo is designed for the Mikromedia PIC32 board with either the Mikromedia Workstation or the Mikromedia Gaming Shield.

[Learn More]

PIC32 Soccer Bounce Demo

5

The Soccer Bounce demo uses the accelerometer input to roll a soccer ball around on a Mikromedia PIC32 screen. The code was written using MikroC Pro for PIC32 and VisualTFT. The soccer ball sprite graphics are rendered using Dragan Regodic's excellent TFT Graphics library: http://www.libstock.com/projects/view/914/tft-graphics-library

[Learn More]