IRNAS / ppk2-api-python

Power Profiling Kit 2 unofficial python api.
http://irnas.eu
GNU General Public License v2.0
145 stars 37 forks source link

Feature/digital channels #32

Closed NejcKle closed 1 year ago

NejcKle commented 1 year ago

This PR implements digital channels to the PPK2 API.

On each sampling interval raw digital channel data is returned.

This data must then be converted in the user application. For that purpose a digital_channels method has been implemented. The method returns a 2D matrix, where the rows represent each digital channel. The row contains 1s and 0s, representing the HIGH and LOW state of that particular digital channel.

Both examples have been updated to include the digital channel data.