Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Convert list of integers to bit-mapped byte
Post: RE: Convert list of integers to bit-mapped byte

Yes, agreed. Thank you to everyone who contributed.
eccles General Coding Help 10 6,330 Oct-25-2017, 07:35 PM
    Thread: Convert list of integers to bit-mapped byte
Post: RE: Convert list of integers to bit-mapped byte

Thanks for taking the time to reply. After reviewing the replies and reading some documentation I have come up with another snippet. This code isn't the most Pythonic but should be easy to understan...
eccles General Coding Help 10 6,330 Oct-25-2017, 04:07 AM
    Thread: Convert list of integers to bit-mapped byte
Post: RE: Convert list of integers to bit-mapped byte

@nilamo Thanks for the very speedy response! Nicely written and easy to understand. I probably wasn't clear enough in my post. What I'd actually like to return from the function is just a single va...
eccles General Coding Help 10 6,330 Oct-24-2017, 09:33 PM
    Thread: Convert list of integers to bit-mapped byte
Post: Convert list of integers to bit-mapped byte

I have a list of integers that represents solenoid numbers to turn ON. For example, the list [1, 3, 4, 7], where: - the number “1” represents the 1st solenoid, "3 the 3rd solenoid etc, - this list m...
eccles General Coding Help 10 6,330 Oct-24-2017, 09:07 PM

User Panel Messages

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