Apparcane

Config Position Quant BlackLine

May 14th, 2023 (edited)
1,099
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int config(int sensor1, int sensor2, int sensor3, int sensor4, int sensor5) {
  2.   sensor1 = sensor1 * -1;
  3.  
  4.   sensor2 = sensor2 * -1;
  5.  
  6.   int position = sensor1 + sensor2 + sensor4 + sensor5;
  7.  
  8.   return position;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment