Digital Temperature

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

MartinSpeed
Posts: 28
Joined: Tue Nov 09, 2021 11:53 am
Been thanked: 1 time
Contact:

Re: Digital Temperature

Post by MartinSpeed »

Hi, in the component set up in the image I posted earlier I can run a digital temperature component from the EB090 board and so I was wondering why I cant just swap with the infrared sensor and a new program.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Digital Temperature

Post by medelec35 »

Hi Martin.
On any target device, you have analogue pins and Digital pins.
If you are using a digital component, then they can be connected to both analogue and digital pins since the analogue pins can be made into digital pins.
However, If you have an analogue only component e.g potentiometer. LDR or in your case infrared sensor, then they can only be connected to analogue pins.
It's as Steve said.
Steve wrote:
Mon Nov 15, 2021 11:00 am
The use this (or any other) analogue sensor, your board would need to be connected to PORTC of the micro, which is the E-blocks connector labelled A0-A5 (the "A" means "analogue").
This is not down to Matrix hardware or software.
It's down to how the Arduino was designed.
Martin

Post Reply