Search found 4 matches

by HRD
Sat Apr 24, 2021 3:39 am
Forum: ESP8266 boards
Topic: socket.recv() causing hardware WDT rst cause 4 crash?
Replies: 0
Views: 2346

socket.recv() causing hardware WDT rst cause 4 crash?

I have be playing with a simple web server and reading/writing to HTTP pages but have been plagued by a mysterious hardware WDT 'rst cause 4' crash across previous MPy builds. I finally nailed it down to an issue with socket.recv() statement and the simplified program below which reproduces the prob...
by HRD
Sat Jan 14, 2017 4:10 am
Forum: ESP8266 boards
Topic: Cross Compiler only
Replies: 14
Views: 18011

Re: Cross Compiler only

Windows NOOB: How to build MPY-CROSS on your Windows system. First, thanks for all the great work by everyone working on Micropython! OK, a little green and using Windows (Win7). Took me a while, but I finally figured out how to pull the necessary pieces together to be able to create (make) MPY-CRO...
by HRD
Mon Dec 26, 2016 9:16 pm
Forum: ESP8266 boards
Topic: Weird I2C Problem?
Replies: 4
Views: 5702

Re: Weird I2C Problem?

That did it!!!

Replaced 'self.bus.writeto(self.addr, chr(cmd))' with 'self.bus.writeto(self.addr, ustruct.pack("B",cmd))' and it works perfectly!

Thanks for the help!!!!!!!
by HRD
Sat Dec 24, 2016 3:34 am
Forum: ESP8266 boards
Topic: Weird I2C Problem?
Replies: 4
Views: 5702

Weird I2C Problem?

This is a strange one.... I am attempting to move a simple Python I2C LCD library for an HD44780 working on an RPi to an ESP8266 NodeMCU. The changes are limited to the supporting I2C library file and the changes only substitute the I2C initialization and write commands (see below). Here is the prob...