TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (91 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 (139264 times)
  2. FAT32 Library (71752 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47431 times)
  5. Network WiFi Library (43092 times)
  6. FT800 Library (42408 times)
  7. GSM click (29835 times)
  8. mikroSDK (28098 times)
  9. PID Library (26886 times)
  10. microSD click (26198 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
Example

Symon Says

Rating:

0

Author: Dennis Lepine

Last Updated: 2014-01-01

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Gaming and Fun

Downloaded: 638 times

Not followed.

License: MIT license  

Demonstration of an old memory game, Simon Says. It uses a 128x64 GLCD. Game is played entirely by the touch screen. Uses sound effects. This is more for beginners, like me, starting to learn the C programming language and MikroC Pro using the EasyPicv7.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Symon Says" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Symon Says" changes.

Do you want to report abuse regarding "Symon Says".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Symon Says

Dennis Lepine

Demonstration of an old memory game, Simon Says. It uses a GLCD 128x64 pixel with a touch screen. Game is played entirely by the touch screen. Timer interrupt is used to sync a melody (Jeopardy Theme) with the opening animation. High score is written to EEPROM for no power retention. Uses sound effects. This is more for beginners, like me, starting to learn the C programming language and MikroC Pro using the EasyPicv7.  

SETUP: EasyPicV7 development board using PIC 18F45K22.

Clock: 8.000000Mhz external crystal.

All port LED's are set to off (SW4.1-4) The Read/Drive inputs are enabled (SW3.5-8)            PIEZO BUZZER J21 is set to RC2 MikroC complier.

A calibration function is added but shouldn’t be needed. Needs to be called from MAIN().  

Game Play:  After the opening animation, player is to touch the “START” button to begin a new game. Game begins after audio cue followed by random flash patterns. Each new level adds a new pattern to the old.It’s up to the player to repeat “Symon’s” flash patterns without error by touching the appropriate pad. 

Start Screen

Start Screen

After the opening animation, the screen rest here waiting for player to press start.

View full image
Symon's Turn

Symon's Turn

Image showing random game pad lite up.

View full image
Player's Turn

Player's Turn

It's now up to the player to repeat Symon's pattern from memory.

View full image

ALSO FROM THIS AUTHOR

Internet Based Date-Time-Weather Sync Using The ESP8266

0

Using a ESP8266 wifi module and a 18F45K22, date and time are stripped off a Google Serv. and sync'd with the clock routine. Clock auto set. Adjusted for DST in N.A. Adjust time zone. Adjust poll times. Weather is had using Yahoo weather api. Included are the NodeMCU Lua code files used on the ESP8266. * This was just an exercise in feasibility.

[Learn More]

PC-PIC Using USB HID

0

A very easy to follow VB.net example for sending text and controlling Port B on the EasyPic (18f4550) using the HIDLibrary.dll written by Mike O'Brien. Example can be modified as needed. The PIC code is Mikro's modified HID read/write interrupt example. The HID descriptor has been modified to use 2 report ID's. Port B LED's have to be turned on.

[Learn More]

PC-PIC Using Serial Comms

0

Demonstration of RS-232 serial communications between the EasyPIC v7 development board using the 18F45K22 and a windows-based PC. This is more for beginners, like me, starting to learn the C programming language and Visual Basic.

[Learn More]