Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (743 codes)
  2. Shawon Shahryiar (262 codes)
  3. Alcides Ramos Zambrano (170 codes)
  4. S P (67 codes)
  5. Dany (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 (95183 times)
  2. FAT32 Library (49992 times)
  3. Network Ethernet Library (44886 times)
  4. USB Device Library (34991 times)
  5. Network WiFi Library (32186 times)
  6. FT800 Library (28012 times)
  7. GSM click (21755 times)
  8. PID Library (21578 times)
  9. microSD click - Example (17762 times)
  10. GSM 2 click (14777 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: 903 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

Midnight Blue Color Scheme for mikroC Pro

0

The Midnight Blue color scheme is used to customize the syntax highlighting in mikroC Pro. I created this color scheme to make the mikroC programming experience even better. The scheme is designed to work with all of the MikroElektronika MikroC Pro compilers.

[Learn More]

Mikromedia Panorama Viewer

0

The Mikromedia Panorama example displays a 1920x240px cylindrical panorama on the Mikromedia dsPIC33 or PIC32 screen. The panorama example was created to show how the VisualTFT resource collection feature can be used to load sliced images. The code was written using VisualTFT and MikroC Pro.

[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]