Search found 5 matches

by hase
Sat Nov 20, 2021 12:17 pm
Forum: Programs, Libraries and Tools
Topic: SPI and SoftSPI on RPi pico: not 8-bit-clean?
Replies: 3
Views: 2200

Re: SPI and SoftSPI on RPi pico: not 8-bit-clean?

tl;dr: - same behaviour in SPI and SoftSPI - problem is SPI.write() with a string argument - SPI.write() works fine with bytearray argument - I thinks its a bug :-) long version: With a bytearray() the hardware and SoftSPI work fine. like s = SPI(1, baudrate=100000, polarity=0, phase=0, sck=Pin(10),...
by hase
Sat Nov 06, 2021 11:45 am
Forum: Programs, Libraries and Tools
Topic: SPI and SoftSPI on RPi pico: not 8-bit-clean?
Replies: 3
Views: 2200

SPI and SoftSPI on RPi pico: not 8-bit-clean?

Either, I am using the class wrong our I found a bug. I am running on a RPI Pico, MicroPython version 1.17 (current as of today). My test code: from machine import Pin, SPI, SoftSPI import rp2 import time _oe = Pin(15, Pin.OUT) _oe.high() latch = Pin(14, Pin.OUT) latch.low() #s = SPI(1, baudrate=1_0...
by hase
Fri Jan 12, 2018 6:12 pm
Forum: ESP8266 boards
Topic: Reached the memory limits of the ESP8266 board. Now what?
Replies: 24
Views: 14111

Re: Reached the memory limits of the ESP8266 board. Now what?

If the limit is RAM the solution is to use frozen bytecode. This is documented here http://docs.micropython.org/en/latest/pyboard/reference/constrained.html . 3) Do you have any suggestion on how to increase the available memory for my code? I am pretty new to the Micropython table, so I am basical...
by hase
Thu Jan 11, 2018 2:47 pm
Forum: ESP8266 boards
Topic: Reached the memory limits of the ESP8266 board. Now what?
Replies: 24
Views: 14111

Re: Reached the memory limits of the ESP8266 board. Now what?

[quote=BoKKeR post_id=23974 time=1513618333 user_id=3489] is it ram related? btw how realistic is running micropython under windows or under a emulator? [/quote] I am developing the logic for my applications on Linux, using the micropython unix port. Its fast, has basically no RAM limits etc. Maybe ...
by hase
Thu Jan 11, 2018 2:33 pm
Forum: ESP8266 boards
Topic: On analog pin change?
Replies: 11
Views: 11032

Re: On analog pin change?

[quote=philwilkinson40 post_id=23928 time=1513432540 user_id=3399] Should I investigate using digital Schmitt triggers in this example? [/quote] No. And yes. To me, this sounds like a use case for a Schmitt Trigger. But perhaps not a "digital" one like the 74xx14. The term Schmitt trigger seems to i...