Alexey Pechnikov
Alexey Pechnikov
Aha, I checked the module sources and I have the solution: ``` import machine import st7789 display = st7789.ST7789(135, 240, rotate180=False, spi=0, cs=5, dc=1, sck=2, mosi=3, bl=4) display.set_backlight(1.0) display.set_pen(0, 0,...
Ah, thanks! It works for rotate=0 but not for rotate=90: ``` from pimoroni_bus import SPIBus from picographics import PicoGraphics, DISPLAY_PICO_DISPLAY, PEN_RGB565 spibus = SPIBus(cs=5, dc=1, sck=2, mosi=3, bl=4) display =...
Hmm, for Pico Display V2 I see the same small picture on the display for the both rotate=0 and rotate=90: ``` spibus = SPIBus(cs=17, dc=16, sck=18, mosi=19) display = PicoGraphics(display=DISPLAY_PICO_DISPLAY,...
Yes, it works with display=DISPLAY_PICO_DISPLAY_2 but how about different display sizes?
I think we were able to define any size of a framebuffer before: ``` width = display.get_width() height = display.get_height() display_buffer = bytearray(width * height * 2) # 2-bytes per...
Ok, got it. Anyway, please save ability to change the driver for the display wrapper ("picographics") for your future products (maybe touch screen-enabled ones)! It looks as you are going...
Yes, sure. picographics library looks great, thanks! I just worry if we will be able to use it smoothly in the future. For an example, it’d be nice to have...
@maximlt Thanks. Actually, I use polygons but it was so weird when their border geometries (lines) cannot be plotted by some reason :)
On Ubuntu "end_id" is N-2 address (instead of N) when "start_id" is not defined and it's probably ignored when the both "end_id" and "start_id" arguments defined. ``` SELECT version(); version...
@cvvergara That's very easy to reproduce. See the code below where we have the same output for end_id := 1 and end_id := 2: ``` SELECT * FROM pgr_TSP( $$...