Arduino code for PID temperature controller

Job ID: 36126557

Budget: $30 – $250 USD

I would like a PID temperature controller that controls fan speed. So based on set temperature it will adjust fan speed. I worked on the code but it has an issue. I want it to slow down when it’s close to set point temperature and speed up when it’s far! And when it’s less than setpoint I want it to be at low speed. I need the code fixed with the next 24 hours