TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (380 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 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 (139674 times)
  2. FAT32 Library (72088 times)
  3. Network Ethernet Library (57304 times)
  4. USB Device Library (47647 times)
  5. Network WiFi Library (43274 times)
  6. FT800 Library (42607 times)
  7. GSM click (29939 times)
  8. mikroSDK (28357 times)
  9. PID Library (26969 times)
  10. microSD click (26350 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

RS232 Interrupt driven command based interface

Rating:

5

Author: stevencovert

Last Updated: 2016-02-22

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Internal MCU modules

Downloaded: 2090 times

Followed by: 1 user

License: MIT license  

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.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "RS232 Interrupt driven command based interface" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "RS232 Interrupt driven command based interface" changes.

Do you want to report abuse regarding "RS232 Interrupt driven command based interface".

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

Example Blog

Blog currently doesn't exist!

ALSO FROM THIS AUTHOR

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]

TFT320x240 PCB with 0.5mm 40-pin connector

0

To "commercialize" my TFT project, I could not use the large 40-pin connector on the TFT-Proto, so I created a new PCB to mount the TFT to.

[Learn More]

Digital Low Pass Filtering - or how to add more bits of resolution to an ADC!

5

This algorithm uses a weighted averaging approach to filter or "smooth" DC steady state or slowly changing levels. It has an exponential component, so the trade-off is TIME. This algorithm is adapted from an article in EDN Times Magazine May25, 2006.

[Learn More]