TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 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 (140533 times)
  2. FAT32 Library (73022 times)
  3. Network Ethernet Library (58025 times)
  4. USB Device Library (48212 times)
  5. Network WiFi Library (43821 times)
  6. FT800 Library (43292 times)
  7. GSM click (30353 times)
  8. mikroSDK (28983 times)
  9. PID Library (27112 times)
  10. microSD click (26714 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: 1074 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

Mikromedia 3D Sprites

10

This firmware example uses the Libstock TFT Graphics library to render animated 3D Sprites on a Mikromedia PIC32 board. The demo can be controlled using the touch panel or the Mikromedia Gaming Shield.

[Learn More]

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]

Snowburst Game

0

Tap to the screen to melt the falling snowflakes before you get snowed in. If you miss a snow flake the snowbank gets higher. Every 500 points the snowbank starts to melt a bit. You can play with two fingers but be sure to tap only one snowflake at a time. If you tap the status bar at the bottom of the screen you can mute the background music.

[Learn More]