Search found 6 matches

by memi205
09 May 2018, 19:00 PM
Forum: ZBasic for Generic Targets
Topic: Simple webserver with ZBasic and ESP8266
Replies: 2
Views: 5992

Thank you very much !
I found the examples you mentioned. I did not know it was so complicated.
I will read them carefully, I will try the examples and I will see how I can integrate and modify this code in my program.
Some Aspirin will surely help...
I really appreciate your help!
by memi205
09 May 2018, 11:29 AM
Forum: ZBasic for Generic Targets
Topic: Simple webserver with ZBasic and ESP8266
Replies: 2
Views: 5992

Simple webserver with ZBasic and ESP8266

Is it possible to program in ZBasic on an ESP8266, a very simple webserver with a simple web page with some variables in this page. With a browser, I could connect to this page and adjust the variables. These variables would be parameters for my program.

If yes, how to proceed?

Thank you !
by memi205
08 May 2018, 17:44 PM
Forum: ZBasic for Generic Targets
Topic: Help to drive a MAX7219 with ZBasic and a ESP8266
Replies: 4
Views: 9681

Thank you very much dkinzer !!! Your last implementation of Disp_write works very well. My code had 2 major problems: 1) The Ser_clk and Ser_data variables must be initialized at the beginning. 2) It seems that it is necessary to make a single shot of 16 bits in the ShiftOutEx I am very sorry for th...
by memi205
06 May 2018, 6:23 AM
Forum: ZBasic for Generic Targets
Topic: Help to drive a MAX7219 with ZBasic and a ESP8266
Replies: 4
Views: 9681

Help to drive a MAX7219 with ZBasic and a ESP8266

Hi ! I need help to drive a MAX7219 with ZBasic and a Wemos D1 mini (ESP8266). Any example for driving a MAX7219 with ZBasic for ESP8266 will be appreciated. I did the same thing with success with BASCOM-AVR and a ATtiny85 and I used only Shiftout like this very short example in BASCOM-AVR : ... loa...
by memi205
06 May 2018, 5:41 AM
Forum: ZBasic for Generic Targets
Topic: Help wanted for blinking led with ESP8266
Replies: 2
Views: 5950

Thank's for your answer.

I just found the problem, The pin 2 must be named A.2 on the ESP8266.

So, my test program (very simplified) is now like this :

Const pin2 as Byte = A.2
Sub Main()
Do
Call PutPin(pin2,0)
Call Delay(1.0)
Call PutPin(pin2,1)
Call Delay(1.0)
Loop
End Sub

Thank's !
by memi205
04 May 2018, 17:40 PM
Forum: ZBasic for Generic Targets
Topic: Help wanted for blinking led with ESP8266
Replies: 2
Views: 5950

Help wanted for blinking led with ESP8266

Hi ! I'm beginning with ZBasic and I want some help for my first program. I'm using a Wemos D1 mini (ESP8266) I wrote this simple program to blink a led with the D4 (GPIO2) pin : Sub Main() Dim i as Integer, j as Integer For j = 1 to 32000 PinHigh(2) For i = 1 to 1000...