Free 186 More Best Homemade Tools eBook:  
Get 2,000+ tool plans, full site access, and more.

User Tag List

Results 1 to 4 of 4

Thread: A Technique for Sharing Realtime in the Arduino Software Environment

  1. #1
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    1,277
    Thanks
    733
    Thanked 2,758 Times in 649 Posts

    rgsparber's Tools

    A Technique for Sharing Realtime in the Arduino Software Environment

    I often run into Arduino applications that deal with realtime events. It is rather easy to write code that causes these events to be missed. Here is one way to solve the problem that avoids running at interrupt level.

    If you are interested, please see

    https://rick.sparber.org/AvoidingDelayFunction.pdf

    Your comments are welcome. All of us are smarter than any one of us.


    Thanks,

    Rick

    186 More Best Homemade Tools eBook
    Rick

  2. #2
    Supporting Member jdurand's Avatar
    Join Date
    May 2019
    Location
    Krasnodar Krai, Russian Federation
    Posts
    1,456
    Thanks
    126
    Thanked 742 Times in 416 Posts

    jdurand's Tools
    Isn't there FreeRTOS ports for the various ATMEGA parts? I use that on everything now but I mainly use NXP Cortex parts. I'm going to set up to run on the Arduino boards since they're so cheap to get ready made, simply erase the interpreter on it and load in real code.

    2000 Tool Plans

  3. #3
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    1,277
    Thanks
    733
    Thanked 2,758 Times in 649 Posts

    rgsparber's Tools
    I think it might be at the device but is not brought out to pins on the Pro Micro board. I looked into it a few years ago and found that is was poorly supported and documented. I made my own very modest device for the ATTINY-85 that used a single pin.

    Rick
    Rick

  4. #4
    Content Editor
    Supporting Member
    DIYer's Avatar
    Join Date
    Aug 2013
    Posts
    3,057
    Thanks
    771
    Thanked 1,850 Times in 1,652 Posts


    Thanks rgsparber! We've added your Technique for Sharing Realtime in Arduino to our Electronics category,
    as well as to your builder page: rgsparber's Homemade Tools. Your receipt:






    186 More Best Homemade Tools eBook

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •