Map funktion!

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.
Post Reply
jgu1
Posts: 615
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Flowcode v10 Map funktion!

Post by jgu1 »

Hi all!

I have just made a project where I need to "convert" an analog input to a limit
pwm output. I use the Mapfunktion, What a great tool to do this job, work perfect with FC :D

I add an examble if any interest, maybe to the Wiki ;)

Br jorgen
Attachments
Led Mikro.fcfx
(13.53 KiB) Downloaded 19 times

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Map funktion!

Post by BenR »

Hi Jorgen,

Great suggestion I've added your example to the wiki page for the component.
https://www.flowcode.co.uk/wiki/index.p ... lculation)

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: Map funktion!

Post by medelec35 »

Thank you, Jorgen.
Thats a great example!
Exactly what Tips and Tricks are for.
Martin

Post Reply