Search found 11 matches

by AJB2K3
Tue Jun 25, 2019 5:12 am
Forum: ESP32 boards
Topic: .BMP image issues.
Replies: 4
Views: 259

Re: .BMP image issues.

I believe the current port uses MP 1.10.
I haven't had time to return to this code as I have been busy understanding other aspects of MP code.
by AJB2K3
Sat Jun 01, 2019 7:21 am
Forum: ESP32 boards
Topic: Scrolling text help please.
Replies: 0
Views: 122

Scrolling text help please.

I'm working on a scrolling text demo on the M5Stack and this is my code from m5stack import * from m5ui import * clear_bg(0x222222) btnA = M5Button(name="ButtonA", text="ButtonA", visibility=False) btnB = M5Button(name="ButtonB", text="ButtonB", visibility=False) btnC = M5Button(name="ButtonC", text...
by AJB2K3
Thu May 16, 2019 4:57 pm
Forum: ESP32 boards
Topic: RuntimeError: Wifi Unknown Error 0x0005
Replies: 3
Views: 375

Re: RuntimeError: Wifi Unknown Error 0x0005

I'm not sure as I don't have enough knowledge so I'm guessing here but

Does ap.active need to be before ap.config?

I'm noticed errors popping up when code isn't in the correct order.
by AJB2K3
Tue May 14, 2019 5:50 am
Forum: ESP32 boards
Topic: .BMP image issues.
Replies: 4
Views: 259

Re: .BMP image issues.

So M5 is a fork of a fork of MicroPython, so this might not be the ideal place to find help. Maybe try http://community.m5stack.com/ But some ideas to try: - Can you try this with a simpler example? Maybe try doing this entirely on the REPL: - Use os.listdir to confirm that the file definitely exis...
by AJB2K3
Sun May 12, 2019 6:54 pm
Forum: ESP32 boards
Topic: .BMP image issues.
Replies: 4
Views: 259

.BMP image issues.

I'm struggling to get an image to show on the screen of an m5Stack. I have managed to reduce the file to 6Kb and it is supposed to be on the devices internal storage but it doesn't show on screen. This is my code. from m5stack import * from m5ui import * clear_bg(0x222222) btnA = M5Button(name="Butt...
by AJB2K3
Sat Apr 13, 2019 3:35 pm
Forum: General Discussion and Questions
Topic: RSSI Signal strength
Replies: 2
Views: 232

Re: RSSI Signal strength

RSSI is returned by the scan function s = network.WLAN() s.active(True) result = s.scan() The result is a list of tuples, one for each detected network. For entry x result[x][0] is the SSID and result[[x][3] is the RSSI in dBm. For example here my own network's SSID appears in result[1][0] so >>> r...
by AJB2K3
Thu Apr 11, 2019 5:49 pm
Forum: General Discussion and Questions
Topic: RSSI Signal strength
Replies: 2
Views: 232

RSSI Signal strength

Sorry in advance as i'm reading the documents and not understanding. I'm looking for a function that allows me to make an action something like If RSSI =x & ID = X then set ID X else ID = Y I think I can work out the ID side of things but I'm confused about the RSSI side of things. Can anyone point ...
by AJB2K3
Tue Mar 12, 2019 6:57 pm
Forum: ESP32 boards
Topic: Help getting i2c to work
Replies: 5
Views: 335

Re: Help getting i2c to work

I had to use

Code: Select all

from machine import Pin, I2C
i2c = I2C(scl=Pin(5), sda=Pin(4), freq=100000)
i2c.scan()
to get the scan to work on the esp32 I am using.(the pin numbers were different on my setup so you will need to change yours to match.
by AJB2K3
Wed Mar 06, 2019 7:40 pm
Forum: ESP32 boards
Topic: MicroPython M5Stack support
Replies: 8
Views: 1477

Re: MicroPython M5Stack support

dht12 and bmp280 are there somewhere because that is what the M5Stack environmental sensor uses. Indeed they should be. However, it seems that the M5Stack github repo is incomplete or way behind the (private?) repo used for building the firmware used with UIFlow. This is annoying. Ahh the repo! sor...
by AJB2K3
Wed Mar 06, 2019 5:26 pm
Forum: ESP32 boards
Topic: ESP32/M5Stack Camera
Replies: 0
Views: 346

ESP32/M5Stack Camera

The m5stack camera is based on the espressif camera using the ova sensor however the default firmware only allows users to access the camera in AP mode. Is there working firmware that allows the camera to work in ST mode? I tried asking on the M5Stack forums but I'm not getting anywhere. The module ...