Search found 1 match
- Mon Feb 28, 2022 6:32 am
- Forum: General Discussion
- Topic: "<class 'typeerror'>: don't know how to convert" error
- Replies: 0
- Views: 2497
"<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...