Author Topic: Why use a flag, when you can just use an ATTINY  (Read 19850 times)

0 Members and 2 Guests are viewing this topic.

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why use a flag, when you can just use an ATTINY
« Reply #50 on: September 01, 2016, 11:41:48 pm »
Quote
Good question. Answer is left to the reader.

That's a poor way of backing up your argument.
================================
https://dannyelectronics.wordpress.com/
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6598
  • Country: 00
Re: Why use a flag, when you can just use an ATTINY
« Reply #51 on: September 02, 2016, 01:13:06 am »
Quote
Good question. Answer is left to the reader.

That's a poor way of backing up your argument.
Nice bait.
 

Online tszaboo

  • Super Contributor
  • ***
  • Posts: 9872
  • Country: nl
  • Current job: ATEX product design
Re: Why use a flag, when you can just use an ATTINY
« Reply #52 on: September 02, 2016, 01:08:31 pm »
Quote
Good question. Answer is left to the reader.

That's a poor way of backing up your argument.
Nice bait.
Expected from a troll.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30334
  • Country: nl
    • NCT Developments
Re: Why use a flag, when you can just use an ATTINY
« Reply #53 on: September 02, 2016, 01:17:35 pm »
Quote
It means you have some stuff that really needs to be done at a specific time.
What happens when you want some stuff to be done while your processor is polling the switch?
Use a higher level interrupt! But still a microcontroller has only time to do X in Y time. So the amount of processing time to do all tasks should always be less. Using interrupts and DMA can be really helpfull but you have to plan resources usage in advance.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->