Free 186 More Best Homemade Tools eBook:  
Get tool plans

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,324
    Thanks
    780
    Thanked 2,851 Times in 672 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,469
    Thanks
    127
    Thanked 769 Times in 427 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.

    2,000+ Tool Plans

  3. #3
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    1,324
    Thanks
    780
    Thanked 2,851 Times in 672 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,055
    Thanks
    793
    Thanked 1,892 Times in 1,687 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:






    2,000+ Tool Plans
    New plans added on 12/16/2024: Click here for 2,633 plans for homemade tools.

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
  •