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

546 Commits

Author SHA1 Message Date
Neil McKechnie
c20e234d43 Remove unused initialisation sequences for tiny oled screens 2021-02-21 11:52:59 +00:00
Neil McKechnie
fcb9d38965 Fix some font attributes as const. 2021-02-21 11:52:37 +00:00
Neil McKechnie
94a6d14687 Merge branch 'nanoEvery2' into fastOLED 2021-02-20 17:24:48 +00:00
Neil McKechnie
396b5c8299 Rationalisation of SSD1306 driver
Merge SSD1306AsciiWire.cpp into SSD1306Ascii.cpp and rename SSD1306AsciiWire.h as SSD1306Ascii.h.
Merge allFonts.h into System5x7.h and rename as SSD1306font.h.
Move all SSD1306 files into root folder to facilitate compilation in Arduino IDE.
2021-02-20 12:57:36 +00:00
Harald Barth
a7d8ed2b1e faultpin is common only if it exists ; make code prettier 2021-02-20 13:50:39 +01:00
Harald Barth
6ebadbfc28 Merge branch 'nanoEvery2-pololu' into nanoEvery2 2021-02-19 21:03:40 +01:00
Harald Barth
a20516d0db remove timeout from user config 2021-02-19 21:02:14 +01:00
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
39cc9aecfc yaml syntax 2021-02-15 10:53:51 +01: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
Harald Barth
803c581825 Merge branch 'nanoEvery2-pololu' of https://github.com/DCC-EX/CommandStation-EX into nanoEvery2-pololu 2021-02-15 10:35:21 +01:00
Harald Barth
d377468006 only do the sha generation on master 2021-02-15 10:35:05 +01:00
Harald Barth
37fd5fe893 Committing a SHA 2021-02-15 00:01:49 +00:00
Harald Barth
edeaad4a9d Merge branch 'nanoEvery2-pololu' of https://github.com/DCC-EX/CommandStation-EX into nanoEvery2-pololu 2021-02-15 01:00:55 +01:00
Harald Barth
5edac75a9e remove warning 2021-02-15 00:59:33 +01:00
Harald Barth
947ef1d146 Committing a SHA 2021-02-14 23:32:44 +00:00
Harald Barth
9368a69e30 Handle shields with common fault pins (Pololu) 2021-02-15 00:31:36 +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