-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add web page control #30
Open
cmcornish
wants to merge
103
commits into
astlouys:main
Choose a base branch
from
cmcornish:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ree buttons when ringing.
…m flash memory for the Pico W platform. Use SSID code and extend for Hostname support.
…rms. Looks nasty. Rework ssi and cgi to split into .h and .c files. Add Pico-Green-Clock.h file to pass over variable set/clear routines into the main code space.
…ons to the start of code outside of the debug settings. This allows them to be compiled in. Set the passive buzzer support to enabled.
…m to be shared with the web page handlers and passed by value to/from handler functions. Add top level support for Andre's custom calendar and reminder files so others can build debug and test builds.
Alter serial debug baud rate to 230400bps for Visual code support. Remove debugging flags by default so that this can be set as needed.
…to use a custom baud rate.
…tructure so we only have one value - is this atomic? I hope so.
…place with a fetch name function. Now have an atomic read of the current time. Don'tr know if it's UCT or local time - will need to check this further.
…ants for min/max and step size - no longer a % duty cycle of 0 to 100 but a step of between 0 and 1000. Add a first CGI form and handler to perform a multiplication and output it to the UART as a test. Save this step.
…ltage. Need LED pin set via cyw43_arch_gpio_put function.
…. Hit text buffer corruption on the 3rd item (day of week buttons). Save as a checkpoint before trying individual data returns.
… not implemented.
…s, though days and alarm text have hiccups. Runs.
…termination if buffer length met.
… value of the alarm hour.
… features. The CurrentHour takes values of between 1-12 when running in 12Hr mode. The alarm, hour chime and night light hours are stored in FlashConfig in 24 hr mode with values of 0-23. Use the 24hr values in CurrentHourSetting for the comparisons. This corrects the failures of afternoon alarmsand double triggering when running in 12Hr mode.
Merge commit '67f1fa275a834d81249167439e796dbac44c27f0' into WebControl
…urrently updated into flash every 5 minutes, so delayed. Can't apply them immediately as the web control is running as an interrupt an will crash if LwIP networking is restarted.
… pending jingles have completed via sound queue buffer management. Also add an instant stop when the cancel key is pressed. Add sound queue status query and clear command.
…nclude a windows only py launcher. Use python instead which should work on windows and linux.
Discover that the DST summertime values weren't staying set in the afternoon when in 12hr mode. The clock logic works in 24hr modes so make the 12hr just a display mode. The summertime DSt is actually a change to the timezone, so add extra code to hide this from the web settings (what about manual setup?). Fix error with the web DST summertime flag clearing.
…o the timezone setting. This is to avoid confusion when reading values. NTP synchronisation to EPOC time includes timezone and DST offsets.
…lay. Update when web control is invoked.
Update README.md
Update README.md
catch up
Patch to make Pico-Green-Colck compile under Windows using VS
@cmcornish I'm interested to try your web interface. |
Hello Ian,
The code should be easy to find - the repository is linked from the astlouys github page and you will be able to fetch the code the same way that you took the 9.03 source.
You can download the code as a zip file, or create a fork of my fork.
I copied the code using the older windows method, I think astlouys used a raspberry pi board environment. Either should work but I think you’ve seen that the cmake file is a little temperamental.
I think that the windows build process and environment has changed recently. I’ve not tried the newest visual studio code plug in so I can’t say for sure that this method will work.
I hope that this gives you the correct pointers.
Regards,
Chris.
… On 9 Dec 2024, at 6:10 pm, ian-hargreaves ***@***.***> wrote:
@cmcornish <https://github.com/cmcornish> I'm interested to try your web inerface.
I've been able to re-compile the original 9.03 source on my RP 5 with the latest Pico SDK
How do I pull your code ?
—
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOR3YEB7PCKBPDTP3DNMCWD2EXMKJAVCNFSM6AAAAABDVTQETCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRYHE3TAMRRGY>.
You are receiving this because you were mentioned.
[ { ***@***.***": "http://schema.org", ***@***.***": "EmailMessage", "potentialAction": { ***@***.***": "ViewAction", "target": "#30 (comment)", "url": "#30 (comment)", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { ***@***.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
|
…. Add different modes under web page control.
…nd count exceeding 1000. Update built code versions.
…ersion 10.10. Regenerate a word document from the PDF so some formatting changes have been made, but content has been retained.
…date the WiFi entry to include setting the hostname.
…ials.cpp example text to remove the comments.
… be made to work with the Raspberry Pi Pico extension.
Fix a few typos and try and make the text easier to understand.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hello Andre,
Here is my code for a web page to control the clocking functions. I think I've now completed all my code changes. The code does what I wanted it to do.
I know you have some local changes, so I thought I'd send over these changes to give you the option of incorporating them before the code diverges too far and makes the merge even harder.
If this isn't useful, the please feel free to ignore or close it. I won't be offended.
Regards,
Chris.