why does it seem the magtag doesnt enforce the refresh time but the il0373 does?
when i magtag.set_text it works immediately but the 2.9featherwing says it needs more time.
is there a way i can lower the refresh time to 1 minute instead?
thanks
magtag vs il0373 refresh time
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- artman70
- Posts: 20
- Joined: Tue Nov 29, 2016 8:44 am
Re: magtag vs il0373 refresh time
another related question.. i have a grayscale epaper featherwing and a featherS2 is there any way i can run the magtag libraries on this setup.. its essentially the same ?
maybe with some minor changes?
maybe with some minor changes?
- tannewt
- Posts: 3304
- Joined: Thu Oct 06, 2016 8:48 pm
Re: magtag vs il0373 refresh time
It looks like the magtag sets `seconds_per_frame` to 5: https://github.com/adafruit/circuitpyth ... ard.c#L165artman70 wrote:why does it seem the magtag doesnt enforce the refresh time but the il0373 does?
when i magtag.set_text it works immediately but the 2.9featherwing says it needs more time.
is there a way i can lower the refresh time to 1 minute instead?
thanks
You should be able to pas `seconds_per_frame=5` to the IL0373 constructor to get the same behavior with the wing. The default is 180 iirc. We do this to ensure that the rapid refreshes are deliberate.
You can try. I'm not sure exactly what changes would be needed.artman70 wrote:another related question.. i have a grayscale epaper featherwing and a featherS2 is there any way i can run the magtag libraries on this setup.. its essentially the same ?
maybe with some minor changes?
- artman70
- Posts: 20
- Joined: Tue Nov 29, 2016 8:44 am
Re: magtag vs il0373 refresh time
that makes sense..
but how would i pass that parameter to the constructor (sorry im still new with CP)
like below?
heres whats in the code now..
thanks for the help
but how would i pass that parameter to the constructor (sorry im still new with CP)
like below?
heres whats in the code now..
Code: Select all
spi = busio.SPI(board.SCK, board.MOSI) # Uses SCK and MOSI
epd_cs = board.IO1
epd_dc = board.IO3
display_bus = displayio.FourWire(
spi, command=epd_dc, chip_select=epd_cs, baudrate=1000000
)
display = adafruit_il0373.IL0373(
display_bus,
width=296,
height=128,
rotation=270,
black_bits_inverted=False,
color_bits_inverted=False,
grayscale=True,
refresh_time=1,
seconds_per_frame=5,
)
- artman70
- Posts: 20
- Joined: Tue Nov 29, 2016 8:44 am
Re: magtag vs il0373 refresh time
it worked. .thanks again!!
Please be positive and constructive with your questions and comments.