User Tools

Site Tools


arduino:4ak18

4ak18 mosfet mos fet array

MOSFET array

http://www.datasheetdir.com/4AK18+N-Channel-MOSFETs

void setup() {
  // Setup timer and attach timer to a led pin
  ledcSetup(0, 8000, 13);
  ledcAttachPin(12, 0);
}
 
static double c = 0.1;
 
void loop() {
 
  ledcWrite(0, c);
  c = c * 1.01;
  if (c > 8192) c = 0.1;
  delay(1);
}
arduino/4ak18.txt · Last modified: by aistis