Discussion Title | Created date |
---|---|
How big is ~uint8_t? SERIAL_RESPONSE tx_bosch (int fd, uint8_t tx_byte, RESPONSE_TYPE response) { uint8_t rx_byte; < stuff that sends tx_byte and receives rx_byte > retval = ((... |
Tuesday, 23 February 2021 - 22:20 |
Efficient storage of and access to variable length collections of strings I have a lot of strings in multiple languages (as a basic i18n attempt for an embedded project) and I've been playing with ways to access and store them. They are of two types;... |
Thursday, 7 January 2021 - 09:03 |
I know nothing about bluetooth, so... <SOLVED> This seems like a good place to ask. What I want to do is drop an inexpensive module onto a design such that when connected to linux, windows, or mobile phone (the last is... |
Wednesday, 2 December 2020 - 22:00 |
strcmp() Bounced of another odd one, about which I should have known better: strcmp() where one of the two inputs is null gives, on this 64-bit Linux/GCC C system, a segfault. It... |
Thursday, 5 November 2020 - 10:29 |
Apropos casting... Just as an example, and only because it slowed me down for a moment or two... while ((uint16_t)regs.pc != next_instruction_address) { interpret_and_disassemble(); }... |
Saturday, 31 October 2020 - 19:53 |
[Linux] what's going on here then? Linux does not have an equivalent to the conio.h getch() and kbhit() which respectively return a single character from the keyboard and return true if a key is waiting; to get... |
Friday, 18 September 2020 - 22:09 |
OLED display and driver package - 128 * 64 I'm out of touch with current display technology - can anyone recommend a 128 * 64 display module, about a couple of inches across? And ideally not costing twenty quid... ... |
Friday, 11 September 2020 - 20:10 |
Compilation with warning Here's an odd one. I'm trying to decide whether this is a bug or not, before I take it to the IDE/compiler maker, so no names, no pack drill. This bloody thing took me all... |
Tuesday, 7 April 2020 - 19:02 |
I have no {} and I must scream... I am currently trying to persuade a twenty-year-old assembler source to compile without warnings under GCC for 64-bit linux, and while I thank the original writer (it's available... |
Saturday, 5 October 2019 - 08:32 |
Arduino Uno - interrupt on serial rx Am I going bananas and/or missing something obvious? The limited amount of googling I have done leads me to believe that the only interrupts which can wake the processor from deep... |
Saturday, 13 July 2019 - 11:31 |
Touch sensor weirdness... I'm pulling my hair out over this one. I'm using a nucleo for testing, rather than an AVR, hence it's here in general electronics though it is generisable to any controller (but... |
Saturday, 13 July 2019 - 09:20 |
Large CMOS or CCD image sensors I'm considering replacing the eyepiece in a 6-inch newtonian reflector with an image sensor of some flavour... I've hacked up a web cam but the sensor at 1/4" is too small; the... |
Sunday, 17 November 2013 - 08:09 |