TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 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 (139254 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57122 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 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
Visual TFT/GLCD Project

MMB skeletal framework to change screens, uses state machine

Rating:

0

Author: stevencovert

Last Updated: 2012-06-13

Package Version: 1.0.0.0

Category: Other Codes

Downloaded: 576 times

Followed by: 1 user

License: MIT license  

Basic framework I created to build a prototype. Shows how to use a simple state machine to control program flow, screens, etc. Updates value on the screen every second. Implemented a one second timer.
Thought it may serve as a launch point for someone building a prototype of a custom board.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "MMB skeletal framework to change screens, uses state machine" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "MMB skeletal framework to change screens, uses state machine" changes.

Do you want to report abuse regarding "MMB skeletal framework to change screens, uses state machine".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Visual TFT/GLCD Project Blog

The prototype I am building

The prototype I am building

I am upgrading a device that currently uses a PIC18 and LCD/buttons for the interface. Removed the old PIC18 from the board, and connected the MMB via jumpers (SPI bus, some I/O). This is the basic framework I created to start building the new project.

View full image

ALSO FROM THIS AUTHOR

RS232 Interrupt driven command based interface

5

Example of setting up and decoding a command based interface - e.g. sending 'ADC?' returns it's value. Can easily be adapted to any ASCII based interface you wish. The UART.C file decodes the command, determines if it is SET or GET (setting or getting the value) and implements it.

[Learn More]

Store STRUCT data in FLASH on dsPIC33

0

dsPIC33 has no EEPROM, and I needed to store my non-volatile data. I had no EEPROM on this board, so I am using the top 1K of FLASH to store my STRUCT that holds all my power-on data.

[Learn More]

Block memory move to/from EEPROM

5

This was my solution to storing data in EEPROM at specific memory locations, and having to break up LONGs,INTs, etc.; only to remap everything when I added another value to store. Example code to move large amounts of memory to/from EEPROM easily, using a ONE-BYTE at a time method (doesn't work with FLASH if #bytes > sector).

[Learn More]