Search found 1 match

by GB14
Mon Feb 28, 2022 6:32 am
Forum: General Discussion
Topic: "<class 'typeerror'>: don't know how to convert" error
Replies: 0
Views: 2090

"<class 'typeerror'>: don't know how to convert" error

Hi, I have a .c library which I want to use through my python code. The c function that I am calling is: crc32Word(uint32_t crc, const void *buffer, uint32_t size) But when I write in my python code as follows: for x in range(1): spi.xfer2(data) values = struct.unpack("<" +"I"*25...

Go to advanced search