Difference between revisions of "Digital Pins"

From Flowcode Help
Jump to navigationJump to search
(Created page with "right|332x290px The '''Analog Window''' displays and monitors analog values on each channel, allowing you to see the results/values of each c...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Gen_Analog_Window_01.png|right|332x290px]]
+
The '''Digital Pins''' displays and monitors digital pin values on each digital port pin, allowing you to see the results/values of each port both as a logic 0 or 1.
The '''Analog Window''' displays and monitors analog values on each channel, allowing you to see the results/values of each channel both as a text values and dynamic bars to display the output values of analog devices.
 
  
 +
To open the 'Digital Pins Window' select 'Digital Pins' from the 'View' menu.
  
To open the 'Analog Window' select 'Analog Inputs' from the 'View' menu (View > Analog Inputs').
+
The Digital Pins Window dynamically displays values of digital pins and can display the data from all of the digital port pins on the device.
  
  
The Analog Window dynamically displays values of analog inputs and can display the data from a range of different channels simultaneously during simulation. Analog data is displayed in this window by using bars to convey the data value as well as text to accurately read the results the text can be changed to display the data as several different values/units.
+
[[File:DigitalPins.jpg]]
  
  
You can change the 'View values as:' option at the top of the window by selecting an option from the drop-down box, by doing so you can change the text to display the data value of the analog channels as:
+
A pin which is pulled to VCC is shown in red with the value 1.
*Raw
 
*Byte
 
*Percent
 
*Unit
 
  
{| style="margin:auto; text-align:center;"
+
A pin which is pulled to GND is shown in grey with the value 0.
|-
+
 
|[[File:Gen_Analog_Window_Raw_01.png]]
+
This corresponds with the pins shown on the [[Chip_View|target device window]].
| width="100px" |
+
 
|[[File:Gen_Analog_Window_Percent_01.png]]
+
 
|}
+
While the simulation is running the state of a pin can be toggled by clicking on the icon in the right hand side field.

Latest revision as of 13:57, 21 October 2020

The Digital Pins displays and monitors digital pin values on each digital port pin, allowing you to see the results/values of each port both as a logic 0 or 1.

To open the 'Digital Pins Window' select 'Digital Pins' from the 'View' menu.

The Digital Pins Window dynamically displays values of digital pins and can display the data from all of the digital port pins on the device.


DigitalPins.jpg


A pin which is pulled to VCC is shown in red with the value 1.

A pin which is pulled to GND is shown in grey with the value 0.

This corresponds with the pins shown on the target device window.


While the simulation is running the state of a pin can be toggled by clicking on the icon in the right hand side field.