// Something to keep your warm.
//
// Start the simulation.
// Turn the potentiometer to generate heat.
// The resistors are 0.001Ω.
// With the potentiometer at full,
// then 5 MW (Mega Watt) is generated.
//

int pinPotentiometer = A0;
int pinOutput = 9;

void setup() 
{
  pinMode(pinOutput,OUTPUT);
}

void loop() 
{
  int value = analogRead(pinPotentiometer);
  int pwm = map(value,0,1023,0,255);
  analogWrite(pinOutput,pwm);
  delay(50);
}
0 Watt
5 Mega Watt