...
 
Commits (2)
......@@ -90,11 +90,11 @@ X Pin_6 6 -200 -300 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Generic_Conn_02x03_Counter_Clockwise
# Connector_Generic_Conn_02x03_Odd_Even
#
DEF Connector_Generic_Conn_02x03_Counter_Clockwise J 0 40 Y N 1 F N
DEF Connector_Generic_Conn_02x03_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 200 50 H V C CNN
F1 "Connector_Generic_Conn_02x03_Counter_Clockwise" 50 -200 50 H V C CNN
F1 "Connector_Generic_Conn_02x03_Odd_Even" 50 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
......@@ -109,11 +109,11 @@ S 150 -95 100 -105 1 1 6 N
S 150 5 100 -5 1 1 6 N
S 150 105 100 95 1 1 6 N
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 -200 0 150 R 50 50 1 1 P
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
X Pin_4 4 300 -100 150 L 50 50 1 1 P
X Pin_5 5 300 0 150 L 50 50 1 1 P
X Pin_6 6 300 100 150 L 50 50 1 1 P
X Pin_2 2 300 100 150 L 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 300 0 150 L 50 50 1 1 P
X Pin_5 5 -200 -100 150 R 50 50 1 1 P
X Pin_6 6 300 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
update=2-9-2018 10:38:10
update=25-11-2018 18:30:03
version=1
last_client=kicad
[pcbnew]
......@@ -28,3 +28,13 @@ version=1
[eeschema]
version=1
LibDir=
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1
This diff is collapsed.
@Echo Off
REM Internal 8 Mhz oscillator, no clock division
REM http://www.engbedded.com/fusecalc/
@avrdude -c usbtiny -p m328p -e -U lfuse:w:0xE2:m -U hfuse:w:0xd9:m -U efuse:w:0x07:m
\ No newline at end of file
REM avrdude -c usbtiny -p m328p -e -U lfuse:w:0xE2:m -U hfuse:w:0xd9:m -U efuse:w:0x07:m
REM External 8+ Mhz oscillator, no clock division
avrdude -c usbtiny -p m328p -e -U lfuse:w:0xcf:m -U hfuse:w:0xd9:m -U efuse:w:0x07:m
\ No newline at end of file
......@@ -15,7 +15,7 @@ env_default = board
platform = atmelavr
framework = arduino
board = 328p8m
board_build.f_cpu = 8000000L
board_build.f_cpu = 16000000L
upload_speed = 115200
upload_protocol = usbtiny
......
......@@ -28,6 +28,8 @@ void setup()
comm.begin();
pinMode(PinButton, INPUT_PULLUP);
pinMode(5, OUTPUT);
}
......@@ -45,6 +47,9 @@ void handleGetSensors(uint8_t* data, uint8_t length);
void checkButtonPress();
uint32_t test = 0;
int testState = LOW;
void loop()
{
currentTime = millis();
......@@ -54,6 +59,13 @@ void loop()
checkButtonPress();
display.update();
if (currentTime - test >= 500)
{
testState = testState == LOW ? HIGH : LOW;
test = currentTime;
digitalWrite(5, testState);
}
}
......