Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help With Script/Code
#1
I am 100% new to this, and I am having a lot of difficulty learning to use Python. I need help figuring out how to start a code/script to achieve what I am looking to do.

Here's what I hope to achieve.
-Scan a barcode which will flash an LED (individual pixel) on an RGB strip
-The physical display will utilize up to 1000 LEDs/pixels per unit (once I figure out the system I will create additional units which will duplicate the first)
-Ability to add multiple barcodes to light up an individual LED/pixel on RGB strip
-Ability to change color of the LED/pixel
-LED/pixel will flash color set for the barcode within the program
-Ability to change the barcode set to specific LED/pixel
-If barcode is not found, a specific LED/pixel will flash
-Ability to set date ranges within the program for individual barcodes which will affect the color that the LED/pixel flashes
-Default color for LEDs/pixels is white -- flash for 10 seconds upon scan or until next barcode is scanned
-"Sleep mode" after 10 minutes of no activity
-"Wake up" with trigger pull of barcode scanner


Assignment of barcodes to specific LEDs/pixels in the display unit:
-Flash LED/pixel being assigned until the barcode is scanned (at which point LED/pixel remains lit for 10 seconds)
-Text box for pertinent information specific to a particular barcode
-Ability to search by barcode or keywords/identifying information found within text
-Ability to make modifications for identifying information associated with a particular barcode within program (date ranges for LED/pixel color changes, identifying information, etc.)

Does this make sense? Is this even attainable?? Any advice or recommendations would be greatly appreciated. Any help with the coding/scripting for Python or for use with Raspberry Pi would be VERY appreciated. Thanks in advance!
Reply
#2
You can start by reading this: https://docs.python-guide.org/writing/structure/
or something similar, there are other basic guides available, use google.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020