Widget Timer IOS IPhone SE64 GB

Dear

Timer Widget problems on IOS IPhone SE64 GB

I have some problem with the Timer Widget, for what I saw with other project is my program doesn’t have IO option to “0 or 1” like following pitcture:

Link of another project in the internet

Beacause of this, I read the result in the monitor serial and this never comes true or false (0 or 1, LOW or HIGH), the result is a number like some “word”. I tried a lot of program format that I was found in theinternet, but any of that works. This is the code of my last try.

[Unformatted code removed by moderator]

@Kristoffer please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:
```

Once you’ve done this, I’ll explain what you are doing incorrectly.

Pete.