This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| pt:programming:algorithms [2014/10/23 14:30] – created aalmeida | pt:programming:algorithms [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| {{: | {{: | ||
| - | ~~PB~~ | + | < |
| ==== Fluxo de dados ==== | ==== Fluxo de dados ==== | ||
| Line 47: | Line 47: | ||
| Para a construção de fluxogramas, | Para a construção de fluxogramas, | ||
| - | Flowcharts describing microcontroller software usually do not have ends, instead whole main activity in an endless cycle. The exit condition of the endless cycle will never be true and therefore this is the case where condition block (diamond) can be represented only on exiting arrow. Condition it self can be notes simply True or 1. Creating diagrams it is important to keep in eye on the fact that if the program has forks, it can be done only through the diamond object. Junctions (two arrows are joining) can be described by special symbol, but in simple cases, one may simply have an arrow point to another arrow instead. | + | Os fluxogramas que descrevem o programa de um microcontrolador, não apresentam geralmente um fim. Em vez disso, representam uma atividade principal que se insere num ciclo infinito de execução. A condição de saída para este ciclo principal geralmente nunca resulta no valor Verdadeiro e como tal este é o caso em que onde um bloco condicional |
| - | ~~PB~~ | + | < |
| - | Following examples illustrate the use of flowchart elements for describing simple algorithm. First example is simple routine by describing one way flow without any cycle or decision points. | + | Os exemplos que se seguem ilustram a utilização de fluxogramas para a descrição de algoritmos simples. No primeiro exemplo temos uma rotina simples que descreve o fluxo uni-direccional descendente, |
| {{: | {{: | ||
| - | ~~PB~~ | + | < |
| - | Following example describes | + | No caso do exemplo que se segue, o fluxograma representa um sistemas que deteta |
| {{: | {{: | ||