Search found 135 matches
- Thu Jun 09, 2022 2:37 pm
- Forum: General Discussion and Questions
- Topic: Fast/efficient alternative to bytearray.index()?
- Replies: 18
- Views: 8797
Re: Fast/efficient alternative to bytearray.index()?
Sorry for the noise, bytes_at by ref isn't in master yet.
- Thu Jun 09, 2022 2:13 pm
- Forum: General Discussion and Questions
- Topic: Fast/efficient alternative to bytearray.index()?
- Replies: 18
- Views: 8797
Re: Fast/efficient alternative to bytearray.index()?
What about:
Code: Select all
from uctypes import bytes_at, addressof
b = bytes_at(addressof(ba), 256)
- Wed Jan 19, 2022 12:31 pm
- Forum: Pyboard D-series
- Topic: PYBD_R2-PYBD_SFxW_Schematic
- Replies: 2
- Views: 24599
Re: PYBD_R2-PYBD_SFxW_Schematic
U: USB pins
L: Lokal (Led etc.)
E: Ethernet
C: CAM
I: I2C
S: SPI
SD: SDCard
Q: QSPI
W: WLAN
B: Bluetooth
6: only available on SF6
L: Lokal (Led etc.)
E: Ethernet
C: CAM
I: I2C
S: SPI
SD: SDCard
Q: QSPI
W: WLAN
B: Bluetooth
6: only available on SF6
- Mon Dec 06, 2021 5:40 pm
- Forum: General Discussion and Questions
- Topic: Deterministic functions
- Replies: 3
- Views: 5392
Re: Deterministic functions
I used to enable an EXTI on the UART RX pin and handle the rest in SW.
- Fri Nov 26, 2021 4:01 pm
- Forum: Other Boards
- Topic: [8bits Z80 4Mhz] Porting on extra low-tech hardware.
- Replies: 4
- Views: 13231
Re: [8bits Z80 4Mhz] Porting on extra low-tech hardware.
Try Borland Pascal
I used it some 40 years ago with great success.
You get an integrated dev environment including a screen editor (like wordstar) and a compiler that generates machine code.
All within 64K!
I used it some 40 years ago with great success.
You get an integrated dev environment including a screen editor (like wordstar) and a compiler that generates machine code.
All within 64K!
- Fri Jul 09, 2021 3:51 pm
- Forum: General Discussion and Questions
- Topic: Is it [MicroPython] hard realtime capable or not?
- Replies: 5
- Views: 3653
Re: Is it [MicroPython] hard realtime capable or not?
Hard RT applications can be done with MPY under the following restrictions: - Use a bare-metal implementation. - Carefully monitor dynamic memory handling. GC usually isn't a big deal. GC uses less than 10ms on a PYBD and there is an upper limit. Of course it might be difficult to design an RT appli...
- Wed Feb 10, 2021 7:36 pm
- Forum: Hardware Projects
- Topic: ATE-NIC project using Pyboard D-series and 20+ I2C
- Replies: 10
- Views: 8989
Re: ATE-NIC project using Pyboard D-series and 20+ I2C
Just a note:
On PYBD the RTC clock is factory calibrated. However, temperature compensation isn't as good as for the RV-8803 (typical +/-25ppm from -40C..85C).
On PYBD the RTC clock is factory calibrated. However, temperature compensation isn't as good as for the RV-8803 (typical +/-25ppm from -40C..85C).
- Tue Feb 09, 2021 8:36 pm
- Forum: Hardware Projects
- Topic: ATE-NIC project using Pyboard D-series and 20+ I2C
- Replies: 10
- Views: 8989
Re: ATE-NIC project using Pyboard D-series and 20+ I2C
Nice Project!
Q: Why are you using an external RTC chip? Isn't the PYBD RTC good enough?
Q: Why are you using an external RTC chip? Isn't the PYBD RTC good enough?
- Wed Jan 27, 2021 11:37 am
- Forum: General Discussion and Questions
- Topic: Multiple Usb HID interface
- Replies: 7
- Views: 3926
Re: Multiple Usb HID interface
We are using it on PYBD SW6 to emulate a combination of TOUCH & KEYBOARD. It works perfect.
- Tue Jan 26, 2021 11:55 am
- Forum: General Discussion and Questions
- Topic: Multiple Usb HID interface
- Replies: 7
- Views: 3926