User Tools

Site Tools


arduino:4ak18

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arduino:4ak18 [2019/10/08 23:37] – created aistisarduino:4ak18 [2020/01/13 23:47] (current) – aistis
Line 1: Line 1:
-4ak18+4ak18 mosfet mos fet array
  
 MOSFET array MOSFET array
Line 5: Line 5:
  
 http://www.datasheetdir.com/4AK18+N-Channel-MOSFETs http://www.datasheetdir.com/4AK18+N-Channel-MOSFETs
 +
 +{{:arduino:pasted:20191008-233808.png}}
 +
 +<code c>
 +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);
 +}
 +</code>
arduino/4ak18.1570567041.txt.gz · Last modified: by aistis