Search found 1219 matches

by deshipu
Sat Nov 18, 2017 12:35 pm
Forum: ESP8266 boards
Topic: Fragment identifier
Replies: 2
Views: 38

Re: Fragment identifier

The fragment identifier is never sent to the web server, it can only be visible on the browser side.
by deshipu
Fri Nov 17, 2017 11:40 pm
Forum: General Discussion and Questions
Topic: I2C Bus Sniffing
Replies: 7
Views: 97

Re: I2C Bus Sniffing

Why won't SPI work with clock stretching? The clock line will remain low until the new bit is sent, whether it's stretched or not, so I think it should work?
by deshipu
Fri Nov 17, 2017 7:29 pm
Forum: General Discussion and Questions
Topic: I2C Bus Sniffing
Replies: 7
Views: 97

Re: I2C Bus Sniffing

To collect raw clocked data, you can use the SPI peripheral, but you will still need to find some way to get the start and stop conditions somehow — probably with a pin interrupt, as you wrote. There is one more problem — you won't know which of the devices is pulling the line at any given moment — ...
by deshipu
Fri Nov 17, 2017 1:34 pm
Forum: General Discussion and Questions
Topic: I2C Bus Sniffing
Replies: 7
Views: 97

Re: I2C Bus Sniffing

What are you trying to do exactly?
by deshipu
Sat Nov 11, 2017 3:18 pm
Forum: The micro:bit
Topic: Installing Mu on Linux
Replies: 5
Views: 94

Re: Installing Mu on Linux

Did you follow the instructions at https://codewith.mu/?
by deshipu
Sat Nov 11, 2017 11:32 am
Forum: General Discussion and Questions
Topic: Library radio
Replies: 1
Views: 87

Re: Library radio

The micro:bit's on-board microcontroller, NRF51, is actually a bluetooth chip — that's why it has radio functionality. That module on the micro:bit is custom, written specially for it, and no other MicroPython port supports it. You can achieve a very similar functionality using the cheap NRF24L01+ m...
by deshipu
Tue Nov 07, 2017 3:17 pm
Forum: The MicroPython pyboard
Topic: machine.I2C and the stop condition
Replies: 12
Views: 258

Re: machine.I2C and the stop condition

The problem is that in normal Python, you can always specify arguments as keywords — so the documentation tools used don't give any way of marking if an argument is positional or keyword. However, MicroPython had to cut some corners, and most of its functions can only ever take positional arguments ...
by deshipu
Tue Nov 07, 2017 12:35 pm
Forum: The MicroPython pyboard
Topic: machine.I2C and the stop condition
Replies: 12
Views: 258

Re: machine.I2C and the stop condition

It should work if you drop the "stop=" from your command, and just put False in there.
by deshipu
Tue Nov 07, 2017 12:32 pm
Forum: The MicroPython pyboard
Topic: machine.I2C and the stop condition
Replies: 12
Views: 258

Re: machine.I2C and the stop condition

Looking at the descriptions of the commands, they look like perfectly normal and standard I2C communication. You should be able to do it with a writeto with stop=False, followed by a readfrom.
by deshipu
Tue Nov 07, 2017 12:12 pm
Forum: The MicroPython pyboard
Topic: machine.I2C and the stop condition
Replies: 12
Views: 258

Re: machine.I2C and the stop condition

If you look at the documentation (http://docs.micropython.org/en/latest/pyboard/library/machine.I2C.html#primitive-i2c-operations) you will see that you have full control over what gets sent and received. You shouldn't have any problems constructing the necessary transactions. Perhaps you should sho...