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: 1 comment 1 reply

Comment options

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

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