1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-25 21:41:23 +01:00
Commit Graph

531 Commits

Author SHA1 Message Date
Neil McKechnie
cf5eb891d7 Type lcdCols and lcdRows to unsigned.
Since lcdCols is normally 128, it needs to be uint8_t, not int8_t.
2021-02-19 15:44:36 +00:00
Neil McKechnie
3327c043a1 Move statics into LCDDisplay class, and reduce RAM.
Some state variables were static in LCDDisplay.write().  Moved to class members.  Also, types of data items like row, column & character position changed to int8_t to save a few bytes of RAM.
2021-02-19 15:32:30 +00:00
Neil McKechnie
c5ddbdf8d7 Merge branch 'nanoEvery2' into fastOLED 2021-02-19 14:16:04 +00:00
Neil McKechnie
fd05d062e7 Reduce RAM and flash requirement a few more bytes. 2021-02-19 12:43:24 +00:00
Neil McKechnie
a965bed82e Comments and copyright update 2021-02-19 12:42:35 +00:00
Neil McKechnie
d83e34de39 Merge branch 'nanoEvery2' into fastOLED 2021-02-19 10:54:50 +00:00
Neil McKechnie
4685d2b24a Speed up OLED writes
Add new flushDisplay() to end any in-progress I2C transaction.  Previously, an redundant command was sent that ended the in-progress transaction but also sent another complete, but unnecessary, transaction.
2021-02-19 10:49:43 +00:00
Neil McKechnie
5e9fb046ab Update comments 2021-02-19 10:46:58 +00:00
Neil McKechnie
2cf17fa143 Handle display types correctly 2021-02-18 21:17:54 +00:00
Neil McKechnie
1ef22e0aea Trim unwanted code 2021-02-18 21:17:04 +00:00
Neil McKechnie
c5f81fdb87 Delete comment about OLED on UNO. 2021-02-18 21:16:41 +00:00
Neil McKechnie
2244add9c0 Enhance OLED/LCD speed 2021-02-18 16:05:29 +00:00
Neil McKechnie
ec1d674da7 Enhance OLED/LCD speed
Write one character or position command per loop entry so as not to hold up the loop.  Add support for SH1106 OLED as 132x64 size option.
2021-02-18 16:00:00 +00:00
Asbelos
f65a321000 Hide WIFI_CONNECT_TIMEOUT
This is not what the config suggests it is...  The timeout is in the ES and defaults to 15 seconds. Abandoning it early leads to confused setup.
2021-02-18 14:34:30 +00:00
Asbelos
cbf08eff10 Swap Join Relay high/low 2021-02-18 14:32:29 +00:00
Asbelos
57ea4bfe49 JOIN relay pin 2021-02-18 10:25:58 +00:00
Asbelos
3134523626 Fix missing F in motor drivers 2021-02-18 10:24:43 +00:00
Asbelos
220b4296b6 Merge branch 'master' into nanoEvery2 2021-02-18 09:52:02 +00:00
Fred
98135ba2de Committing a SHA 2021-02-17 20:40:03 +00:00
Fred
fbb9841f3a
Update MotorDrivers.h
Add a motor board definition for using the IBT_2 board for a high current to the main track and keep the Arduino Motor Shield for operating the programming track.
2021-02-17 15:39:45 -05:00
Neil McKechnie
01c3e7487f Update comment for OLED_DRIVER define. 2021-02-17 11:06:57 +00:00
Neil McKechnie
0d877a3d1b Fix auto-configure from cold boot.
Add call to Wire.begin().
2021-02-17 11:06:26 +00:00
Neil McKechnie
4647568b8d Fast SSD1306 OLED driver
Incorporate code from SSD1306Ascii library to speed up OLED screen updates, reduce memory requirements and eliminate some library dependences.
2021-02-16 23:38:33 +00:00
Harald Barth
781d0325af Committing a SHA 2021-02-15 09:52:46 +00:00
Harald Barth
62d1f46a03 yaml syntax 2021-02-15 10:52:19 +01:00
Harald Barth
5860ad3f1d do the sha generation on master 2021-02-15 10:41:08 +01:00
Fred
3cc2418c7b Committing a SHA 2021-02-14 23:19:57 +00:00
Fred
0228345ca4
Update config.example.h
Add comment to wifi channel section
2021-02-14 18:19:41 -05:00
Asbelos
8240a24193 Committing a SHA 2021-02-14 20:21:18 +00:00
Asbelos
d4be9a8a6c Merge branch 'nanoEvery2' of https://github.com/DCC-EX/CommandStation-EX into nanoEvery2 2021-02-14 20:20:46 +00:00
Asbelos
5a9d5d1f96 Reduce duplicated F() macros
Compiler isn't as clever as one might expect
2021-02-14 20:20:36 +00:00
Asbelos
cae30f5faf Committing a SHA 2021-02-14 13:10:20 +00:00
Asbelos
919b975adc Merge branch 'nanoEvery2' of https://github.com/DCC-EX/CommandStation-EX into nanoEvery2 2021-02-14 13:09:48 +00:00
Asbelos
7e37580466 Wifi channel and code cleaning 2021-02-14 13:09:36 +00:00
Asbelos
79d991db00 Committing a SHA 2021-02-13 17:21:43 +00:00
Asbelos
7d72624232 Merge branch 'nanoEvery2' of https://github.com/DCC-EX/CommandStation-EX into nanoEvery2 2021-02-13 17:20:58 +00:00
Asbelos
a8bd530451 Reinstate IP_PORT
Arrrrgh!
2021-02-13 17:20:45 +00:00
Asbelos
5c5a2e924c Committing a SHA 2021-02-13 16:16:19 +00:00
Asbelos
46e0fcdc54 fix wifi setup issue 2021-02-13 16:15:46 +00:00
Asbelos
ba99de17bf Committing a SHA 2021-02-12 13:31:55 +00:00
Asbelos
75ab2ab533 PWM pin implementation 2021-02-12 13:31:23 +00:00
Asbelos
9d5f579847 Committing a SHA 2021-02-09 13:46:17 +00:00
Asbelos
f09eee25dd UnoRev2 protection 2021-02-09 13:43:40 +00:00
Asbelos
6f70bec67e Committing a SHA 2021-02-08 12:29:24 +00:00
Asbelos
6737785388 Comments and a reliability fix. 2021-02-08 12:28:16 +00:00
Asbelos
c1a8206667 Merge branch 'wifisetupfix' into nanoEvery2 2021-02-08 09:44:00 +00:00
Asbelos
61931bf40a Committing a SHA 2021-02-08 08:28:05 +00:00
Asbelos
c21bb6053a Merge branch 'nanoEvery2' of https://github.com/DCC-EX/CommandStation-EX into nanoEvery2 2021-02-08 08:26:44 +00:00
Asbelos
4c9182d95f Fix for nano compile 2021-02-08 08:26:32 +00:00
Asbelos
fd4d454463 Committing a SHA 2021-02-07 20:26:32 +00:00