The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
3answers
2k views

Looking for capacitance and voltage rating - How to read electrolytic SMD capacitor labels

I need to replace an SMD capacitor on a board. The printing on it says F1 560 2.5z I have googled intensely but have been unable to find information on how to read such a codes. I need to find out ...
0
votes
2answers
585 views

Verilog code synthesis error

I'm having problem with my verilog code when I synthesize it. It shows multiple drivers error. I think may be it's because of multiple always blocks I'm using in it. So how can I fix it!!? Here it is: ...
12
votes
2answers
16k views

How to visually tell the difference between axial inductors and common resistors?

Is there a simple way to tell axial inductors and resistors apart in through-hole type PCBs? I do find the color code on both very confusing. Is there an obvious difference that I am missing? As a ...
2
votes
1answer
541 views

How does this Matlab code work?

I came across this uncommented Matlab code except for the header: ...
0
votes
3answers
285 views

Bitwise operators: Whats the difference ^= vs &= ~(smthg)?

I'm coding for microcontrollers and I've come across two styles of bitwise operations that quite confuse me a lot because they are used interchangeably. First let's assume our REGISTER has 4 bits; bit ...
2
votes
1answer
2k views

Deep sleep mode consumption of PIC

I would like to know why my PIC which when I put in to deep sleep does consume more than what is specified by the datasheet. I have connected a precision current meter and found that when I load the ...
1
vote
2answers
1k views

Electrical schematics component ID's

Is there a list of standard ID codes used for components on a schematic drawing that anyone can point to? e.g. K = Contactor S = Switch Y = Solenoid X = Terminal strip etc. Any list would be ...