Graphics on ESP8266 #5643
Replies: 1 comment
-
Posted at 2017-02-11 by navas Ok, I figured 1v91 doesn't have Graphics library inbuilt, so I had to use 1v86.171. Now, the following example doesn't display "Hi" rather it displays some weird characters on the display. Any idea? https://goo.gl/photos/8qLAqh571H3u8rTH6
Posted at 2017-02-11 by @MaBecker or download 1v91 with Graphics 512K or 4MB Posted at 2017-02-11 by navas @MaBecker Thanks Posted at 2017-02-11 by @MaBecker you can use the 512K version Posted at 2017-02-11 by navas Thanks, I will give it a try. @MaBecker, did you see the image? Do you have any idea what is causing this problem? Posted at 2017-02-11 by Wilberforce @navas, try changing the baud rate, I think the default is 50,000. Try 100,000 Posted at 2017-02-11 by Wilberforce @navas how will you use in the esp-01 it only has 2 gpio pins? Posted at 2017-02-12 by navas @MaBecker, I tried flashing the 512KB version, but it didn't work. Getting continuous message like this
So I had to revert to the 1v86.171 version. This is the command I have used
Posted at 2017-02-12 by navas @wilberforce, Once you setup the Wifi I can use ESP-01, RX / TX pins. They are simple connected to D3 and D1, please check the following image Posted at 2017-02-12 by @MaBecker Hi @navas, first erase the flash and then use the flash setting for 512KB listed in README_flash.txt
you can ignore the warning, but you should seriously think about a donation Posted at 2017-02-12 by navas
I would love too! How do I a do it. I have a paypal account. Thanks Posted at 2017-02-12 by @MaBecker http://espruino.com/Donate and click on the donate button - it offers PayPal too Posted at 2017-02-12 by navas @gfwilliams Just placed an order for pico from official tindie, order # 64437. Also donated $5 with paypal. Confirmation number: 8GF29176FL1303242 I am not making any money using Espruino / ESP8266. I am just a hobbyist. :) But I love working with Espruino on my spare time. It makes myself alive. I love this community and thanks for doing this great work! Espruino Rocks! Posted at 2017-02-12 by navas @wilberforce changed the baud rate. No luck yet! I guess it is best suitable for numbers and HELP! Posted at 2017-02-12 by Wilberforce @navas http://www.espruino.com/Reference#l_SPI_setup
Posted at 2017-02-13 by navas Yes, I did try exactly what you have mentioned, but no luck so far... Posted at 2017-02-13 by Wilberforce I think the debug output will use one the D2. You would need to disable both the uart and the debug uart - as the serial output could be upsetting your spi output Posted at 2017-02-13 by @MaBecker try this pins
Posted at 2017-02-13 by Wilberforce He is using an esp-01 so won't have those pins! Posted at 2017-02-13 by @MaBecker Sorry - shame ..... Posted at 2017-02-14 by navas Nope, tried with ESP-12E as well. Ended up with the same result. But thanks for the response, appreciate it. Posted at 2017-02-14 by Wilberforce The NodeMcu:Dx notation that @MaBecker referenced maps to the PIN numbers as labelled on the board. If you use D0 this is gpio0 , and not the PIN label on the board... Do you understand what I'm trying to say? Posted at 2017-02-14 by navas Yes, I understand that. I am not using node MCU notation, just plain 12E. Also I see that displaying "--HELP--" and numbers works just fine. But with Graphics I couldn't get it work. Thanks for the response. Posted at 2017-02-14 by Wilberforce ok . so you can write text and numbers to the display. It is not clear what you actual issue is. What graphics are you trying to display? If you posted some code, perhaps it would be apparent what you are trying to do? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-11 by navas
Hi Everyone,
Is anyone knows how to display on Max7291?
I am trying to create a Graphics buffer as mentioned on
http://www.espruino.com/MAX7219
But getting an "Uncaught Reference" error :(
Can anyone help?
Thanks
Navas
Beta Was this translation helpful? Give feedback.
All reactions