CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

QR Codes

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
georpo



Joined: 18 Nov 2008
Posts: 281
Location: Athens, Greece.

View user's profile Send private message

QR Codes
PostPosted: Mon Dec 13, 2021 1:10 pm     Reply with quote

Hello friends!
Maybe this is s silly question but is there any way to generate QR code pixels from a string?

Thanks!
_________________
George.
PrinceNai



Joined: 31 Oct 2016
Posts: 478
Location: Montenegro

View user's profile Send private message

PostPosted: Mon Dec 13, 2021 1:22 pm     Reply with quote

With a Pic? Probably, if you know the rules on generation of QR codes. Otherwise there are countless websites that generate it from whatever you want.
georpo



Joined: 18 Nov 2008
Posts: 281
Location: Athens, Greece.

View user's profile Send private message

PostPosted: Mon Dec 13, 2021 1:28 pm     Reply with quote

Yes with a PIC. I have epaper display connected to a PIC24 and I want to generate QR code and display it.

Thanks.
_________________
George.
dyeatman



Joined: 06 Sep 2003
Posts: 1933
Location: Norman, OK

View user's profile Send private message

PostPosted: Mon Dec 13, 2021 2:24 pm     Reply with quote

Here is Arduino src to create QR codes you can adapt to the PIC
https://www.arduino.cc/reference/en/libraries/esp-qrcode/
_________________
Google and Forum Search are some of your best tools!!!!
PrinceNai



Joined: 31 Oct 2016
Posts: 478
Location: Montenegro

View user's profile Send private message

PostPosted: Mon Dec 13, 2021 2:48 pm     Reply with quote

I'm looking through QR code generation pages, trying to narrow it down to actually how to make one from scratch. It looks like you'll have to decide on the size and version of it (I'd go with version 1, 21 x 21 pixels). So far this is the best site I 'we found:

https://www.keyence.com/ss/products/auto_id/codereader/basic_2d/qr.jsp
Ttelmah



Joined: 11 Mar 2010
Posts: 19504

View user's profile Send private message

PostPosted: Tue Dec 14, 2021 6:21 am     Reply with quote

Also the more correct library for the SSD displays is probably this one:
https://github.com/yoprogramo/QRcodeDisplay

However, this is only going to be translatable to relatively large PIC's.
The table sizes needed to generate the codes are quite large.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group