Thank you Peter, as always.
I'll take your advice.
Search found 40 matches
- Tue Sep 14, 2021 12:32 pm
- Forum: ESP32 boards
- Topic: pickle
- Replies: 3
- Views: 2852
- Mon Sep 13, 2021 7:34 pm
- Forum: ESP32 boards
- Topic: pickle
- Replies: 3
- Views: 2852
pickle
snippet of code import pickle class configuration_data(object): def __init__(self): self.flashlight=True # by default flashlight on self.hour_start=0 # inhibit alarm hour start self.minute_start=0 self.hour_end=0 # inhibit alarm hour self.minute_end=0 self.inhibit_time=False def print_configuration(...
- Wed Mar 24, 2021 3:55 pm
- Forum: ESP32 boards
- Topic: Using a python variable in HTML
- Replies: 5
- Views: 3042
- Wed Mar 24, 2021 12:50 am
- Forum: ESP32 boards
- Topic: Using a python variable in HTML
- Replies: 5
- Views: 3042
Re: Using a python variable in HTML
Thank you Mark. You've recognised just how inexperienced I am with html.
Certainly give it a try but was leaning towards issuing gets that the holst replies with different pages. This is much better
Certainly give it a try but was leaning towards issuing gets that the holst replies with different pages. This is much better
- Mon Mar 22, 2021 7:37 pm
- Forum: ESP32 boards
- Topic: Using a python variable in HTML
- Replies: 5
- Views: 3042
Re: Using a python variable in HTML
Thank you, I'm aware of the static nature of HTML. It is after all a simple text mark up coding. It's a simple issue, which if I confess would be better implemented on the client's server with Java, but it seems a lot of effort for such a simple thing. These are snippets from the code that works, mo...
- Sat Mar 20, 2021 6:39 pm
- Forum: ESP32 boards
- Topic: Using a python variable in HTML
- Replies: 5
- Views: 3042
Using a python variable in HTML
Does micropython support using a python variable in HTML
I've tried <% thisvariablestring %>
which mearely prints 'thisvariablestring'
and """+thisvariablestring+"""
which reports variable not defined probably because it expects java source
Robin
I've tried <% thisvariablestring %>
which mearely prints 'thisvariablestring'
and """+thisvariablestring+"""
which reports variable not defined probably because it expects java source
Robin
- Thu Feb 25, 2021 3:29 pm
- Forum: ESP32 boards
- Topic: WLAN.ifconfig(
- Replies: 8
- Views: 3079
Re: WLAN.ifconfig(
Forgive me Jimmo. I thought that I'd corrected those:- However the alternative syntax doesn't work, but doesn't matter. import network wlan = network.WLAN(network.STA_IF) print(wlan.active(True)) wlan.config(dhcp_hostname='esp32cam') wlan.ifconfig(config=('192.168.1.144','255.255.255.0','192.168.1,2...
- Thu Feb 25, 2021 1:28 am
- Forum: ESP32 boards
- Topic: WLAN.ifconfig(
- Replies: 8
- Views: 3079
- Thu Feb 25, 2021 12:54 am
- Forum: ESP32 boards
- Topic: WLAN.ifconfig(
- Replies: 8
- Views: 3079
Re: WLAN.ifconfig(
Isn't that identical to what I'm doing with merely a different instansiation of the wlan object name?
- Wed Feb 24, 2021 10:26 pm
- Forum: ESP32 boards
- Topic: WLAN.ifconfig(
- Replies: 8
- Views: 3079