Post Created date
#ifdef CODE #endif in a single line?
From:   Preprocessing directives are lines in your program that start with ‘#’....
Wednesday, 25 September 2019 - 10:44
How to convert and store uint16_t value into 4 Hex chars?
Yikes Kevil wrote: I need to check if I have enough space in ATtiny202 (2 kB) available. Would you like to explain why you chose such a crippled micro-controller ?   Ha Ha...
Tuesday, 24 September 2019 - 22:15
[ask] reading voltage and current phase in 3-phase distribution system
e0ne199 wrote:3-phase distribution system theusch wrote:Is the homework due today? Homework with CAT III-600V safety requirements - err - I think not, and definitely hope not....
Tuesday, 24 September 2019 - 12:45
How to convert and store uint16_t value into 4 Hex chars?
On Sunday evening I ran your code in #1 on Linux GCC and got a Segmentation Fault when writing to AT_Send, but didn't write a reply. You were advised not to do this by ...
Tuesday, 24 September 2019 - 10:57
How do I Change C / C++ Formatting style in AS7.0 ?
Perhaps you saw it in Visual Studio instead.   This is from Visual Studio Express 2017.  
Thursday, 19 September 2019 - 07:25
REAL ONE SECOND by timer 0---->problem in my code
Ahh - My mistake was to assume the TIMER vectors were grouped sensibly together as they are on the more familiar (to me) mega328 family.    
Tuesday, 17 September 2019 - 07:21
REAL ONE SECOND by timer 0---->problem in my code
Aashkanpasha wrote:I calculated and reached this count15625 .but how can value registers in ctc mode I can't believe you have asked this question after you nearly got there in...
Monday, 16 September 2019 - 20:38
REAL ONE SECOND by timer 0---->problem in my code
Aashkanpasha wrote:Is my method true or false ? false   In CTC mode, your Overflow ISR should not have run at all, so I don't understand how your if(overflow>=122) ever...
Saturday, 14 September 2019 - 10:14
MPLAB and PICKit4/SNAP/ipecmd fails to handle non-continuous code?
By discontinuous do you mean "has gaps in the hexfile" ?   Because almost every PIC hexfile conatins the Configuration Word (functionally like AVR fuses) at the very top of...
Thursday, 5 September 2019 - 08:05
Noisy Laptop Power Supply.
Kartman wrote: 2. if grounded, is the output 0V tied to ground (my collegue found this out the hard way recently - he blasted the USB port of his new laptop!) On my example of...
Tuesday, 3 September 2019 - 07:18
Noisy Laptop Power Supply.
I have a 90W HP AC Adaptor Model PA-1900-08H1 (19V 4.74A) If I measure between barrel jack GND (GND because my meter probe won't fit down the socket hole) and Mains earth (AC...
Sunday, 1 September 2019 - 20:54
Why won' this light bulb turn on?
Your 24 ohms measurement for a 12V bulb is highly suspect. I think you haven't cleaned the pins - they do accumulate crud.   I just measured: MR16 12V / 20W bulb and got...
Saturday, 31 August 2019 - 22:46