TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 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 (140173 times)
  2. FAT32 Library (72626 times)
  3. Network Ethernet Library (57646 times)
  4. USB Device Library (47958 times)
  5. Network WiFi Library (43556 times)
  6. FT800 Library (42945 times)
  7. GSM click (30141 times)
  8. mikroSDK (28673 times)
  9. PID Library (27058 times)
  10. microSD click (26553 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

Software UART using TMR0 Interrupt, and ring buffer

Rating:

0

Author: eduardo lopes

Last Updated: 2014-02-26

Package Version: 1.2.0.0

Example: 1.0.0.0

Category: Communication

Downloaded: 1249 times

Followed by: 1 user

License: MIT license  

This is a C coded sw UART, based on AN555. You can choose serial frame handling: bit number, Parity and Handshake . With TMR0 interruptions, and larger buffer, the TX/RX could run silently, freeing the main code. Here, an EasyBluetooth was handled by sw UART, connected to FT232 on a Ready for PIC board, in a back-to-back bridge.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Software UART using TMR0 Interrupt, and ring buffer" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Software UART using TMR0 Interrupt, and ring buffer" changes.

Do you want to report abuse regarding "Software UART using TMR0 Interrupt, and ring buffer".

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

Example Blog

Blog currently doesn't exist!

RELATED CODES

Webserver - Full Featured

5

Example of what can be done with the Ethernet library. Server serves both dynamic / static content, retrieves time from NTP servers, downloads files from remote servers. Requires: Ethernet Library, FAT32 Library, Standard Bool Library

[Learn More]

RC5 remote control protocol decoder

0

Example for decoding RC-5 IR remote control protocol using PIC12F1822 mcu. Results are displayed on 1602 LCD display. The compiler used is CCS PIC C.

[Learn More]

IR NEC Decoder Library

5

The library of the decoder for work with IR control panels according to the NEC protocol. Tested at ATtiny2313, IR - TSOP xx36. We connect the IR receiver to a pin of INT0 and expose frequency of the MK on 8 MHz. The IR NEC lib uses TIMER0 counters.

[Learn More]