News:

Let's find out together what makes a PIC Tick!

Main Menu

C conversion

Started by pjdenyer, Aug 15, 2021, 01:55 PM

Previous topic - Next topic

pjdenyer

Hi,

I am looking to convert the c code "green = 2 * (value % 32);" to proton code, I believe the % means Mod, any ideas

trastikata

Hello, in Positron the // returns the remainder after dividing one integer value by another.

pjdenyer

Thanks, worked great