Page 1 of 2

RC5

Posted: Fri Aug 14, 2026 6:17 am
by ELECTRONICA67
Hello,

I wrote a simple little program using a TSOP31236 (36 kHz) and a 4-digit TM1637 display to show the reading sent via RC5_TX and RC5_RX, but I can't get the program to compile; it throws an error related to a timer.

I think it's a bug in Flowcode.

Enrique

Re: RC5

Posted: Fri Aug 14, 2026 6:35 am
by ELECTRONICA67
TSOP31236

Re: RC5

Posted: Fri Aug 14, 2026 8:19 am
by chipfryer27
Hi

I have just downloaded your chart and it successfully compiles to Hex for me.

I'm using latest FC11.

Regards

Re: RC5

Posted: Fri Aug 14, 2026 5:09 pm
by ELECTRONICA67
HI

Man, I was really struggling with this—I even swapped out every single TMR, but it kept throwing errors over and over. I just compiled it, correct; for a moment, I thought you might have an update I didn't have. I'm going to test it on the hardware right away.

As they say in Mexico, "¡Ay, Chihuahua!"... I'm going to test it out before the program decides to act up.

Enrique

Re: RC5

Posted: Fri Aug 14, 2026 5:32 pm
by chipfryer27
Hi

You may have had something else causing the issue that you resolved without knowing?

Hopefully it compiles to target for you.

Regards

Re: RC5

Posted: Fri Aug 14, 2026 6:28 pm
by ELECTRONICA67
Hi,

I just fixed the flowchart. It starts by testing that the display is working correctly, then enters a loop waiting to detect an RC5 TX signal; I connected an LED to pin A2 as a detection indicator, and the display itself shows the reading. However, the display doesn't respond at startup, and once it enters the loop to wait for the RC5 signal, neither the LED lights up nor does the display turn on—it remains off.

Saludos

Re: RC5

Posted: Fri Aug 14, 2026 6:55 pm
by chipfryer27
Hi

Have you tried setting your display brightness to 7 as a test instead of 1? Perhaps it is just too dark to be visible? I once spent an embarrassing amount of time with a LCD that had it's brightness turned down way too far.......

Regards

Re: RC5

Posted: Fri Aug 14, 2026 6:57 pm
by ELECTRONICA67
Hi

One observation: the display turns on in the simulation, but not in the hardware.

Re: RC5

Posted: Fri Aug 14, 2026 6:59 pm
by ELECTRONICA67
Hi

I tested it with a brightness of 1; let me switch to 7 and test it.

Re: RC5

Posted: Fri Aug 14, 2026 7:03 pm
by ELECTRONICA67
not working