I have a simple model where all I have is jumper cable connected between 5V and pin 8.
My goal is to simply use simulink to read the data at pin 9 which should be 5v but all I'm getting is 0. The simulink model is as shown

And I've tried collecting data from a variety of different basic systems, i.e button presses, pwms but all I get is 0. What do I do? I'm using external mode; fixed-step and discrete in the model and hardware settings.
Why do you think that?
because it's connected to 5v power rail? Or i guess it should be a logic 1, but whatever the case simulink shouldn't be giving me a 0
Did you read what you wrote?
all I have is jumper cable connected between 5V and pin 8.
My goal is to simply use simulink to read the data at pin 9 which should be 5v
Again, why should pin 9 be 5V?
Typo when writing, pin 8 should be anything but 0.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
