"\n" "int main(void) {\n" " unsigned char data[31];\n" " uint8_t data[31];\n" " {\n" " unsigned max = (unsigned)RAND_MAX + 1;\n" " int shft = 0;\n"2 changes: 1 addition & 1 deletion 2 crcany.c Original file line numberDiff line numberDiff line change @@ -16...
^~~~ test.cpp:11:6: note: candidate function not viable: no known conversion from 'cffi::AutoValue' to 'uint8_t *' (aka 'unsigned char *') for 1st argument void foo(uint8_t *data) ^ 1 error generated. I understand it's because of the argument type but I don't know how ...
(const void *data, int len) { const uint8_t *p = data; int i, j; uint16_t temp = 0; if (len != 0) temp = p[0] << 8; for (i = 1; i <= len; i++) { if (i != len) temp |= p[i]; for (j = 0; j < 8; j++) { if (temp & 0x8000) temp ^= ...
(start at 0, increment up until no such file exists on card), LCD write if file OK or file error //LCD write file name to which data is being logged //write a new header in the logfile //turn on AVR for some unknown to me reason //start the temp sensors and set their ...
Asked 1 year, 5 months ago Modified 1 year, 5 months ago Viewed 119 times 0 I have a char *data that is a Datagram to represent the packet I want to send in but I need to insert on that an uint8_t array. // Datagram to represent the packet char datagram[4096], source_ip[...
You guys might want to consider changing it to save int32 data in the json file, though, since it seems reasonable that the array entries in the json should match the number of bias values. jnorwood closed this as completed Sep 15, 2018 Sign up for free to join this conversation on ...