Ajouté des composants à Fritzing
This commit is contained in:
BIN
Fritzing/Ceramic Capacitor top view 100ml.fzpz
Normal file
BIN
Fritzing/Ceramic Capacitor top view 100ml.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/Ceramic Capacitor top view 200ml.fzpz
Normal file
BIN
Fritzing/Ceramic Capacitor top view 200ml.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/Ceramic Capacitor top view original.fzpz
Normal file
BIN
Fritzing/Ceramic Capacitor top view original.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/Electrolytic Capacitor top view.fzpz
Normal file
BIN
Fritzing/Electrolytic Capacitor top view.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/LED_Red-3mm_top-view.fzpz
Normal file
BIN
Fritzing/LED_Red-3mm_top-view.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/LED_Red-5mm_top-view.fzpz
Normal file
BIN
Fritzing/LED_Red-5mm_top-view.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/NPN_Transistor_top-view.fzpz
Normal file
BIN
Fritzing/NPN_Transistor_top-view.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/TO-220-2lead.fzpz
Normal file
BIN
Fritzing/TO-220-2lead.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/TO-220-3lead.fzpz
Normal file
BIN
Fritzing/TO-220-3lead.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/TO220-4lead.fzpz
Normal file
BIN
Fritzing/TO220-4lead.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/Vertical Resistor.fzpz
Normal file
BIN
Fritzing/Vertical Resistor.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/capa_top_100mil.fzpz
Normal file
BIN
Fritzing/capa_top_100mil.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/capa_top_200mil.fzpz
Normal file
BIN
Fritzing/capa_top_200mil.fzpz
Normal file
Binary file not shown.
BIN
Fritzing/top View TO-92.fzpz
Normal file
BIN
Fritzing/top View TO-92.fzpz
Normal file
Binary file not shown.
20
Serial/minimal_serial.lua
Normal file
20
Serial/minimal_serial.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
count=100
|
||||
|
||||
-- when 4 chars is received.
|
||||
uart.on("data", 4,
|
||||
function(data)
|
||||
count = count - 1
|
||||
print("receive from uart:", data)
|
||||
if data=="quit" or count<1 then
|
||||
uart.on("data") -- unregister callback function
|
||||
end
|
||||
end, 0)
|
||||
-- when '\r' is received.
|
||||
uart.on("data", "\r",
|
||||
function(data)
|
||||
count = count - 1
|
||||
print("receive from uart:", data)
|
||||
if data=="quit\r" or count<1 then
|
||||
uart.on("data") -- unregister callback function
|
||||
end
|
||||
end, 0)
|
||||
Reference in New Issue
Block a user