# Reading barcodes

**URL:** <https://discourse.processing.org/t/reading-barcodes/29868>\
**Category:** Coding Questions\
**Created:** [May 5, 2021, 8:56am UTC](https://discourse.processing.org/t/reading-barcodes/29868 "2021-05-05T08:56:15Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [May 5, 2021, 11:30am UTC](https://discourse.processing.org/t/reading-barcodes/29868/13 "2021-05-05T11:30:28Z")

</div>

take a look to this project

no libraries and its multi task you can modifies it as logic analyses or any other idea by replacing the ir receiver in Arduino

there is much to learn in this sketch despite its easy arrays, drawing lines in pattern, briny conversion, serial communication, spiting, timing and much more … you can play a lot with it

> [@Infrared remote control](https://discourse.processing.org/t/infrared-remote-control/29301):
>
> I found this sketch on a Japanese site and it has several errors i fix some of them but still not working any help thanks everyone import processing.serial.\*; Serial myPort ; int [] recv\_data = new int [200]; float x , pre\_x ; boolean state = true ; boolean requested = false ; boolean received = false ; float t\_margin , b\_margin , r\_margin , l\_margin ; int base\_t = 0 ; void setup () { myPort = new Serial ( this , Serial . list () [0], 115200 );…

---

_[View the full topic](https://discourse.processing.org/t/reading-barcodes/29868)._
