Add support for Arduino Mega, Ethernet connectivity & MQTT #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2022 March/April : Simon G0FCU, changes identified by a comment with 'SHK' and date:
added support for the Arduino Mega --define ARDUINO_MEGA
added support for 20x4 I2C LCD --define USE_20X4_LCD
added support for MQTT and Ethernet board --define MQTT_ENABLED --due to the memory constraints will probably only work with the Mega version
changed the way the tuned frequency is recorded - this may be only required if using the Mega as the routine called to measure the frequency is different for the Mega
Pin 47 has to be used instead of pin 5 on the Uno
The IO expander is not used, native Mega pins are used from 30-46, 46 & 48 for Lo-Q/Hi-Q switching and 47 for frequency.
MQTT
Message 'Tuner commands'
Values:
C - clear buffer
B - print buffer values in MQTT message 'Tuner status'
M - manual tune
L - lock
U - unlock
Z - sleep/wake
Message 'Tuner status' values:
0 MQTT Connected
1 Tuned
2 Tuning
3 Tune lock ON
4 Idle
5 Manual Tuning
6 Pending idle SWR OK
7 Untunable
8 Pending idle no tx
I think that's it. I haven't regression tested this on a Uno.