Skip to content
Jump to main navigation and login
Nav view search
Navigation
Documentation
Download
News
Forum
FAQ
Home
Search
Index
Recent Topics
Search
Welcome,
Guest
Username:
Password:
Remember me
Forgot your password?
Forgot your username?
Create an account
Forum
User's Forum
ProviewR Forum
Write arduino map(....) function on proview plc
Page:
1
TOPIC: Write arduino map(....) function on proview plc
Write arduino map(....) function on proview plc
12 years 2 months ago
#3183
jagspaul
OFFLINE
Senior Boarder
Posts: 58
Karma: 0
Hi,
Can any body tell me how to write Arduino map(value, fromLow, fromHigh, toLow, toHigh) function in plc.
regards
jags
The administrator has disabled public write access.
Re: Write arduino map(....) function on proview plc
12 years 2 months ago
#3184
jagspaul
OFFLINE
Senior Boarder
Posts: 58
Karma: 0
Hi,
I have use CArithm and write code as follows
OA1 = (A1 - A2) * (A5 - A4) / (A3 - A2) + A4;
A1 = Input value
A2 = input min
A3 = input max
A4 = output min
A5 = output max
Is there any other better way available??
jags
The administrator has disabled public write access.
Page:
1
Board Categories
User's Forum
- ProviewR Forum
- Help Forum
- Tips & Tricks
- New Features
- Project Forum
- Patches and Bugs
- Hardware
Developer's Forum
- Development
Language specific Forums
- French
- Spanish
Forum
User's Forum
ProviewR Forum
Write arduino map(....) function on proview plc
Powered by
Kunena Forum