Search found 482 matches

by Roberthh
Sun Feb 26, 2017 8:02 am
Forum: Hardware Projects
Topic: Graphing barometer - storm Doris
Replies: 4
Views: 90

Re: Graphing barometer - storm Doris

That is truly a very well made-up set, in all aspects. Using the ePaper for that purpose is very appropriate, since it requires no Energy once set.
by Roberthh
Fri Feb 24, 2017 8:44 am
Forum: General Discussion and Questions
Topic: Self Update via Socket
Replies: 1
Views: 65

Re: Self Update via Socket

@spotlightkid has ported ftplib and made an ftp client, which works on esp8266: viewtopic.php?f=15&t=2949&hilit=ftp+client#p17504
That may work for you too.
by Roberthh
Thu Feb 23, 2017 10:08 am
Forum: General Discussion and Questions
Topic: ticks_diff not behaving
Replies: 5
Views: 147

Re: ticks_diff not behaving

On 8266 I had my problems with the timer callbacks, as these are not real interrupts. Theses callbacks can be interrupted with another timer callback or other interrupts. my callback function was not really more complicate than @nulldev's one. Finally I solved my problem with setting a flag, prevent...
by Roberthh
Tue Feb 21, 2017 7:41 pm
Forum: The MicroPython pyboard
Topic: Read ADC without reinitializing channel
Replies: 7
Views: 180

Re: Read ADC without reinitializing channel

Did you determine the time needed for each of these steps: - init channel - read the adc value - the net python function call - the processing of the data got from the ADC According to the data sheet, the sampling time goes up to about 16 µs, with faster times for small changes. An empty Micropython...
by Roberthh
Tue Feb 21, 2017 6:31 am
Forum: Drivers for External Components
Topic: Touch GUI for the official Pyboard display
Replies: 5
Views: 171

Re: Touch GUI for the official Pyboard display

Hello Pete, that looks very impressive. And reading though the github issues, it looks as if you are a hard user of that lcd library, really exploring it.
by Roberthh
Sun Feb 19, 2017 8:00 am
Forum: General Discussion and Questions
Topic: RegEx with literal '='
Replies: 2
Views: 95

Re: RegEx with literal '='

variables = ure.search("([A-z]+)=([A-z]+)", MyString) will deliver at least the first assignment, test=value. with variables.group(0) -> "Test=Value" variables.group(1) -> "Test" variables.group(2) -> "Value" ure.match is anchored. It will only find patterns ...
by Roberthh
Fri Feb 17, 2017 2:52 pm
Forum: General Discussion and Questions
Topic: free file space
Replies: 1
Views: 74

Re: free file space

At least that is the intention of the implementation.
by Roberthh
Fri Feb 17, 2017 12:21 pm
Forum: General Discussion and Questions
Topic: file truncated in http server
Replies: 3
Views: 78

Re: file truncated in http server

Again: did you try:

Code: Select all

cl.sendall(html.read())


instead of just cl.send()? While read() is defined to read the whole file, send() does not promise to supply all data provided. It will return the number of bytes actually sent.
by Roberthh
Wed Feb 15, 2017 5:08 pm
Forum: The MicroPython pyboard
Topic: Max input voltage on Y pins?
Replies: 5
Views: 159

Re: Max input voltage on Y pins?

When I look into the STM32F405 data sheet, all GPIO's are marked with FT, but a handful of them have a note (4), which tells:
4. FT = 5 V tolerant except when in analog mode or oscillator mode (for PC14, PC15, PH0 and PH1).
by Roberthh
Wed Feb 15, 2017 6:46 am
Forum: The WiPy
Topic: CC3200 build environment
Replies: 2
Views: 106

Re: CC3200 build environment

System debian jessie, configuration a little bit aged & messy. robert@DELL-HH:~$ arm-none-eabi-gcc -v Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/4.8/lto-wrapper Target: arm-none-eabi Configured with: ../gcc-4.8.4/configure --build=x86_64-li...

Go to advanced search