Giter VIP home page Giter VIP logo

g33k's People

Contributors

hwiguna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

g33k's Issues

A Wire.requestFrom() should not be encapsulated by Wire.beginTransmission() and Wire.endTransmission().

The Wire.beginTransmission() and Wire.endTransmission() should only be used when writing data. They should not be used together with Wire.requestFrom().

The next files have that:

  • g33k/ArduinoProjects/2016 Arduino/PCF8574_Client/PCF8574_Client.ino
  • g33k/ArduinoProjects/2016 Arduino/132-PCF8574/PCF8574_I2C_IO_Expander_Explosion/PCF8574_I2C_IO_Expander_Explosion.ino
  • g33k/ArduinoProjects/2016 Arduino/132-PCF8574/PCF8574_I2C_IO_Expander_Explosion2/PCF8574_I2C_IO_Expander_Explosion2.ino
  • g33k/ArduinoProjects/2016 Arduino/132-PCF8574/PCF8574_I2C_IO_Expander_Explosion3/PCF8574_I2C_IO_Expander_Explosion3.ino

For example this:

Wire.beginTransmission( address );
Wire.requestFrom((int)address, 1); // Ask for 1 byte from slave
val = Wire.read(); // read that one byte
error = Wire.endTransmission();

should be this:

Wire.requestFrom((int)address, 1); // Ask for 1 byte from slave
val = Wire.read(); // read that one byte

project smart houese

mas orang ingonesia kan saya boleh sharing dikit ilmu nxa mas
saya bingung mau buat smart house bahan nxa dan cara nxa karena saya baru kenal arduino boleh bantu dikit mas terimakasih

Load from ESP / slow down issue

Hi, I have been using your great program since 2014 and I updated each time the version changed (currently v 1.0.2.3) however there are a couple of small problems I notice:
The relatively new addition of a working "Load from ESP" works fine for small scripts but if the script is long say 65 lines it stops loading at line 43 every time, that tripped me up a couple of times.
Also I notice when you first start Lua Uploader "Save to ESP" works fast however if you do a number of "Delete" and "Save to ESP" the save process becomes progressively slower, to a point were I actually close the program and then open it up again.
Please understand I like your program a lot and will continue to use it as is, this is not a deal breaker for me but hopefully you may take this post as s constructive bug report.

(wish list) a really useful addition would be line numbers down the left hand side of the screen (when I get a error in the Lua code I am writing, which is regular believe me, I find myself counting lines of code to find which line the Lua interpreter is indicating the error) I guess the line numbers could form the left boarder that scrolls with the screen for instance like not part of the code window.

Thanks and best regards

Toshi

USB relays - delay between sending commands

Hey - wasn't sure how to reach you so decided to try through creating an issue.

I looked into your code for controlling USB Relays. I have similar code but written in C# for controlling relays from Windows machine, and I noticed that if I send 0x51 and 0x03 (for instance) nothing happens - but if I but 10 ms delay in between commands then it works. Did you run into similar issue?
Thanks!

Not escaping multiline strings correctly

When I have a multiline string, "Save to ESP" fails. Example:

print([[Hello
World]])

I can execute it, but when I save it I get this:

> SENT: file.remove("delme.lua")
SENT: file.open("delme.lua","w")
SENT: file.writeline([[print([[Hello]])
SENT: file.writeline([[World]])]])
SENT: file.close()
file.remove("delme.lua")
> file.open("delme.lua","w")
> file.writeline([[print([[Hello]])
stdin:1: nesting of [[...]] is deprecated near '['
> file.writeline([[World]])]])
stdin:1: unexpected symbol near ']'
> file.close()

I think the problem is in https://github.com/hwiguna/g33k/blob/master/ArduinoProjects/Windows/ESP8266_Related/LuaUploader/SerialPort/Form1.cs line 211:

stringBuilder.AppendLine("file.writeline([[" + line + "]])");

You may want to check if there's anything else that should be escaped.

ESP8266 Master to many Slaves broadcast

Dears,

I've got fed up of searching over the internet on this - now I want a straight forward solution or guidance please.

My project simply is to have one ESP8266 connected to a host Microcontroller to be like a hub or master to establish a local private network no need to connect to the internet. On the other hand, I have many ESP8266 devices connected to the same network and receiving data from the master ESP8266 or the Microcontroller. These ESP slave devices will receive the message from the master and turn on/off a relay on one of the gpio pins and return a status feedback to the master. That's it!
Please guide me to the correct direction. I'm so confused right now and don't know what should I focus on! Thanks in advance!

Upload error

I directed the file which doesn't exist.
An application error occurred.

upload error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.