Search found 7 matches

by Seb60
Wed Mar 21, 2018 4:31 pm
Forum: MicroPython pyboard
Topic: Jpeg on lcd160cr
Replies: 9
Views: 7370

Re: Jpeg on lcd160cr

Yes, it works, but it appears too big ...
by Seb60
Wed Mar 21, 2018 11:58 am
Forum: MicroPython pyboard
Topic: Jpeg on lcd160cr
Replies: 9
Views: 7370

Re: Jpeg on lcd160cr

Hi,

sorry, I have an error with

Code: Select all

 jpegtran image.jpg > image_opt.jpg
My jpg original: http://gofile.me/3qDFk/ksK7lgKt5

thx
Seb
by Seb60
Tue Mar 20, 2018 10:46 am
Forum: MicroPython pyboard
Topic: Jpeg on lcd160cr
Replies: 9
Views: 7370

Re: Jpeg on lcd160cr

Yes,
image.jpg
image.jpg (10.75 KiB) Viewed 7304 times
thx,

Seb
by Seb60
Tue Mar 20, 2018 8:00 am
Forum: MicroPython pyboard
Topic: Jpeg on lcd160cr
Replies: 9
Views: 7370

Re: Jpeg on lcd160cr

I'm sorry but I'm trying to convert my jpg, but it does not work!

I tried for the web,
without exif,
etc ..

I can not display it at all ..

Thank you

Seb
by Seb60
Mon Mar 19, 2018 7:13 pm
Forum: MicroPython pyboard
Topic: Jpeg on lcd160cr
Replies: 9
Views: 7370

Jpeg on lcd160cr

Hello, I have a problem, I tried several solution without success! I already read on the forum solutions but impossible to display my image.. instead of my image I have this: http://gofile.me/3qDFk/bhSbfcOc1 or http://gofile.me/3qDFk/bhSbfcOc1 my code: import lcd160cr import pyb lcd = lcd160cr.LCD16...
by Seb60
Fri Mar 16, 2018 10:21 am
Forum: General Discussion and Questions
Topic: accelerometer with intensity
Replies: 3
Views: 2819

Re: accelerometer with intensity

Thank you for your reply.

This is not the function I wanted...

I would like the intensity to increase according to the tilt in one axis.

thank you.

Seb
by Seb60
Wed Mar 14, 2018 11:42 am
Forum: General Discussion and Questions
Topic: accelerometer with intensity
Replies: 3
Views: 2819

accelerometer with intensity

hi, sorry for my English, I wish that my LED lights up more and more according to the accelerometer, can you help me ? [code]import pyb accel = pyb.Accel() light = pyb.LED(4) SENSITIVITY = 3 # sensibilité intensity = 254 while True: x = accel.x() intensity = (intensity + 1) % 255 if abs(x) > SENSITI...