Skip to content

any guide to migrate from 1.x to 2.x? #56

Answered by brgl
sombriks asked this question in Q&A
Discussion options

You must be logged in to vote

It'll be quite hard to create a wrapper for both as the API has been completely rebuilt and there are no 1:1 translations between the interfaces. You no longer get the line and then request it. You know request a set of lines and receive a gpiod_line_request object that can wrap multiple lines.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@sombriks
Comment options

Answer selected by sombriks
Comment options

You must be logged in to vote
2 replies
@sombriks
Comment options

@mar0x
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants