IR Receive ... odd phenomenon


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5994
Posted: 07:36am 04 Jan 2023      

Hi LouisG,

Noticed you have a "dummy entry" in your array:

DIM INTEGER Relay(24)=(-1,

Picomite has a nice way to avoid this:

OPTION BASE 1

When using this option the lowest index into the array changes from the default "0" to "1".

Regards,

Volhout