Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. In bare-metal or embedded programming environments, a natural kind of simple example program is one that just counts up from zero, on whatever output device you have – 7-segment display, or in binary on a row of LEDs, etc.

In bare-metal or embedded programming environments, a natural kind of simple example program is one that just counts up from zero, on whatever output device you have – 7-segment display, or in binary on a row of LEDs, etc.

Scheduled Pinned Locked Moved Uncategorized
4 Posts 2 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • simontatham@hachyderm.ioS This user is from outside of this forum
    simontatham@hachyderm.ioS This user is from outside of this forum
    simontatham@hachyderm.io
    wrote last edited by
    #1

    In bare-metal or embedded programming environments, a natural kind of simple example program is one that just counts up from zero, on whatever output device you have – 7-segment display, or in binary on a row of LEDs, etc.

    But it's quite confusing if the manual refers to it as a "counter example"!

    xanna@mastodon.ieX 1 Reply Last reply
    1
    0
    • simontatham@hachyderm.ioS simontatham@hachyderm.io

      In bare-metal or embedded programming environments, a natural kind of simple example program is one that just counts up from zero, on whatever output device you have – 7-segment display, or in binary on a row of LEDs, etc.

      But it's quite confusing if the manual refers to it as a "counter example"!

      xanna@mastodon.ieX This user is from outside of this forum
      xanna@mastodon.ieX This user is from outside of this forum
      xanna@mastodon.ie
      wrote last edited by
      #2

      @simontatham gah, I don't like that sort of thing, I'm going to organise a counter protest!

      simontatham@hachyderm.ioS 1 Reply Last reply
      0
      • xanna@mastodon.ieX xanna@mastodon.ie

        @simontatham gah, I don't like that sort of thing, I'm going to organise a counter protest!

        simontatham@hachyderm.ioS This user is from outside of this forum
        simontatham@hachyderm.ioS This user is from outside of this forum
        simontatham@hachyderm.io
        wrote last edited by
        #3

        @xanna when the value wraps round back to 0, that's a counter revolution.

        xanna@mastodon.ieX 1 Reply Last reply
        0
        • simontatham@hachyderm.ioS simontatham@hachyderm.io

          @xanna when the value wraps round back to 0, that's a counter revolution.

          xanna@mastodon.ieX This user is from outside of this forum
          xanna@mastodon.ieX This user is from outside of this forum
          xanna@mastodon.ie
          wrote last edited by
          #4

          @simontatham we refer to that movement as "counter clockwise"

          1 Reply Last reply
          0
          • R relay@relay.an.exchange shared this topic
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups