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 PostIt is certainly possible, though without the details of the hardware we probably can't help you beyond a certain point.
What have you done so far? We cannot and will not do the work for you, though we will try to answer direct questions and give advice towards fixing problems. …
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 PostThere are literally thousands of models of stepper motors, solenoids, and touch screens on the market, so that isn't sufficient information for us to help you with. You'll need to check the documentation on the devices in question, or at the very least tell us the make and model of …
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
pyMod
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.