Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 24, 2020. It is now read-only.

Commit 5419c94

Browse files
increase light time and decrease http send time timeout
1 parent 85dab26 commit 5419c94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
8 Bytes
Binary file not shown.

‎arduino_firmware/arduino_firmware.ino‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
#define GREEN_LIGHT_PIN A3
1111
#define BLUE_LIGHT_PIN A4
1212

13-
#define HTTP_POST_SEND_TIME_MS 500
13+
#define HTTP_POST_SEND_TIME_MS 335
1414
#define DISP_AWAKE_TIME_MS 3
1515
#define VIBRATION_CHECK_TIME_MS 50
1616
#define TOUCH_CHECK_TIME_MS 125
17-
#define LIGHT_TIME_MS 150
17+
#define LIGHT_TIME_MS 160
1818

1919
#define SOUND_TIME_MS LIGHT_TIME_MS
2020
#define SOUND_TOUCH_FREQ_HZ 800
@@ -37,7 +37,7 @@ void setup() {
3737
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
3838
Ethernet.begin(mac);
3939
delay(2000);
40-
40+
4141
http_send_post(0, 0, 0, true);
4242

4343
pinMode(VIBRATION_PIN, INPUT);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /