Politechnika Śląska - strona 125

note /search

Diody stabilizacyjne - omówienie zagadnienia

  • Politechnika Śląska
  • Analogowe układy elektroniczne
Pobrań: 189
Wyświetleń: 1036

DIODY STABILIZACYJNE (STABILITRONY) - DIODY ZENERA Diody Zenera to diody przeznaczone do stabilizacji lub ograniczenia napięcia. Diody stabilizacyjne pracują przy polaryzacji w kierunku zaporowym, charakteryzując niewielkimi zmianami napięcia pod wpływem dużych zmian prądu. Diody te stosuje się w u...

Fotodioda - omówienie zagadnienia

  • Politechnika Śląska
  • Analogowe układy elektroniczne
Pobrań: 91
Wyświetleń: 952

FOTODIODA Fotodioda jest zbudowana podobnie jak zwykła dioda krzemowa. Różnica jest w obudowie, gdyż znajduje się tam soczewka płaska lub wypukła, umożliwiająca oświetlenie jednego z obszarów złącza. Fotodiody wykonuje się z krzemu lub arsenku galu. Fotodiodę można traktować jako

All printf conversion specifications

  • Politechnika Śląska
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 868

A ll printf conversion specifications Character Argument type; Printed As d,i int; decimal number o int; unsigned octal number (without a leading zero) x,X int; unsigned hexadecimal number (withou...

Bit fields - omówienie zagadnienia

  • Politechnika Śląska
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 749

Bit-fields • Used to store variables smaller than one byte • Example: - a set of single-bit flags - interfaces to hardware devices • The usual way: masks, shifting, masking, ... • An alternative in C: bit-fields • A bit-field , or field : a set of...

C Compilers - examples

  • Politechnika Śląska
  • Fundamentals of Computer Programming
Pobrań: 14
Wyświetleń: 889

C/C++ compilers • Turbo C++ Explorer • Free Microsoft Visual C++ 2010 Express • Free Microsoft eMbedded Visual C++ • Free Microsoft .NET Framework Software Development Kit / Free Microsoft Visual C++ Compiler • Open

Constants - examples

  • Politechnika Śląska
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 875

Constants • An integer constant like 2345 is an int • long constant is written with a terminal l or L : 1L • Unsigned constants are written with a terminal u or U ( ul means unsigned long) • A leading 0 (zero) on an integer constant means octal • ...

Control flow while loop

  • Politechnika Śląska
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 651

Control flow: the while loop while (condition) { instruction(s) } • The condition in parentheses is tested. • If it is true , the body of the loop (statements enclosed in braces) is executed. • Then the condition is re-tested, and if true, the body is executed again. • When the test becomes false ,...

Counting digits - examples

  • Politechnika Śląska
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 658

Counting digits #include /* count digits, white space, others */ int main() { int c, i, n_white, n_other; int n_digit[10]; /* 10 counters for 10 digits */ n_white = n_other = 0; for (i = 0; i = '0' && c (…) …; printf("digits: "...

Data types and sizes

  • Politechnika Śląska
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 847

Data types and sizes • There are only a few basic data types in C: - char a single byte, capable of holding one character in the local character set, usually 8 bits - int an integer, typically reflecting the natural size of integers on the host ma...

Enumeration constants - examples

  • Politechnika Śląska
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 581

Enumeration constants • An enumeration is a list of constant integer values, as in enum boolean { NO, YES }; • The first name in an enum has value 0, the next 1, and so on, unless explicit values are specified. • If not all values are specified, unspecified values continue the progression from the ...