Hello , I have to write a code that read a file in python and convert each chaaravter to 1, or 0 and send these digets to a a selonoid to make a strike or not to make ( brille printing ) is that possible ???? please need your help no time left :( :(
Rabee_1 0 Newbie Poster
Recommended Answers
Jump to PostThe other thing I will recommend is that you consider using a
dict
(dictionary, or hash table) to look up the translation values that will be sent to the device:braille_map = { 'A': [...], 'B': [...], 'C': [...], # and so on... 'Z': [...] } …
Jump to Postofftopic arduino would be perfect for this.
Jump to PostLooks like Rabee_1 is talking about a Raspberry Pi computer that uses Python on Linux.
See ...
http://en.wikipedia.org/wiki/Raspberry_PiSo a Python dictionary that converts each letter to the appropriate zero and one sequence …
All 12 Replies
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
Rabee_1 0 Newbie Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster

iamthwee
Rabee_1 0 Newbie Poster

iamthwee
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague

iamthwee
Rabee_1 0 Newbie Poster

iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.