Comms Simulation and PIN Read on UNO
Posted: Thu Mar 25, 2021 7:25 pm
Hi All,
I just want to ask during the Comms Simulation is there another way to read a Pin which is defined in the properties of the I2C at the moment it seems it is only possible by using the SCADA macro IOGetInput() as below( I need this pin as the ADC asserts this pin when the conversion is completed and the data should be read,
In the real component(after) exposing it should read the RDY pin specified by the user as below
Or should I just use the IOGetInput() macro and as a last step replace that part with a read to the real pin in code only problem is if the user will do Comms simulation then the code will not work , may be you guys have better solution
Thanks as always appreciate your time and efforts
I just want to ask during the Comms Simulation is there another way to read a Pin which is defined in the properties of the I2C at the moment it seems it is only possible by using the SCADA macro IOGetInput() as below( I need this pin as the ADC asserts this pin when the conversion is completed and the data should be read,
In the real component(after) exposing it should read the RDY pin specified by the user as below
Or should I just use the IOGetInput() macro and as a last step replace that part with a read to the real pin in code only problem is if the user will do Comms simulation then the code will not work , may be you guys have better solution
Thanks as always appreciate your time and efforts