Free 173 Best Homemade Tools eBook:  
HomemadeTools.net Members

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
    821
    Thanks
    398
    Thanked 1,696 Times in 442 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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
    Advertisements
    Rick

  2. #2
    Supporting Member jdurand's Avatar
    Join Date
    May 2019
    Location
    Los Gatos, California, USA & Goryachy Klyuch, Krasnodar Krai, Russia
    Posts
    873
    Thanks
    75
    Thanked 506 Times in 274 Posts
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    jdurand's Tools

    Advertisements
    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.
    Advertisements

  3. #3
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    821
    Thanks
    398
    Thanked 1,696 Times in 442 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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,090
    Thanks
    542
    Thanked 1,288 Times in 1,166 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


    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:





    Post your reply!
    Join 42,532 of us and get 500+ tool plans, tool eBooks, build guides, and much more.



    eBooks for Supporters

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
  •