Post Created date
CallBack vs interrupt approach
Why would you let users put code into interrupts anyhow? Isn't the interrupt something that the Library should "own"?   Letting users put code into interrupts sounds...
Sunday, 25 July 2021 - 09:22
adding uncommon features in the HAL layers
ali_aw1995 wrote:but here I see there is only one parameter here? Remember that Arduino uses C++   In C++, you can have multiple functions with the same name, but taking...
Sunday, 25 July 2021 - 08:43
adding uncommon features in the HAL layers
This, of course, is the fundamental problem of trying to make anything portable/generic across multiple platforms!   You will always have the problem that you can't take...
Sunday, 25 July 2021 - 08:39
CallBack vs interrupt approach
There is a third option:   You specify that the user must supply a static inline function with a specific name, in a specific header file; eg,   // user_handler.h...
Sunday, 25 July 2021 - 08:31
Pointers and arrays in C
AndreyT wrote: Similarly, since ++ptr and ptr++ are both equivalent to ptr + 1 MarkThomas wrote:I believe one of them increments the ptr after it is used and the other before it...
Saturday, 24 July 2021 - 08:56
How do you design state diagram for project
  avrcandies wrote:A traffic light has many duplicates Not in one individual light - that's why I suggested in #11 considering just one individual light; ie, just one set of...
Saturday, 24 July 2021 - 08:51
Split from: Battery testing
As it's an Analog Devices product, then you really need to be talking to them about how best to use their device:   https://www.analog.com/en/search.html?q=CN0510  ...
Saturday, 24 July 2021 - 08:44
Converting 8 bit Integer to Hexadecimal
K.Chandramohan wrote:Speed in RPM is entered into the keys in the device What do you mean by that? there's a keypad at which the user types 2, 6, 7 to set 267 RPM? there's a...
Friday, 23 July 2021 - 16:33
How do you design state diagram for project
N.Winterbottom wrote:I think, to use switch de-bounce to teach state diagrams is a step too far. I agree.  
Friday, 23 July 2021 - 14:55
How do you design state diagram for project
ansh11 wrote: I don't understand what I need to draw for de-bounce logic in state diagram  So do you really understand the process of debouncing a switch?   Describe...
Friday, 23 July 2021 - 12:35
Converting 8 bit Integer to Hexadecimal
As the others have said, the question is unclear.   If it's about converting from a human-readable text string, that was covered in your previous thread:   https://www....
Friday, 23 July 2021 - 09:39
#define to switch ON RCP
presumably  i2c_pca9535_out_port0 is a function? So find the documentation and/or definition of that function to find what it does.   the name suggests that it uses I2C...
Friday, 23 July 2021 - 09:32

Pages