PigiPigi
Member level 2
- Joined
- May 1, 2002
- Messages
- 43
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 271
74hc.lib proteus
Hi,
Would you share your PCBs please?
Hi,
Would you share your PCBs please?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I have attached the article from Elektor November 2003.ME said:Look in the newest issue of the Elektor Electronics magazine (November 2003):
http://www.elektor-electronics.co.uk/ln/details/e1103u.htm
There's an article about a Running Text Display using an 89S8252 Flash MCU.
PCB layout and source & hex code can be downloaded here:
**broken link removed**
Codeman said:I'm a begginer is this things. I had understand everything except the following: (not good at C)
How do we convert the ascii char (for instance A is 7E 88 88 88 7E 00)
that is show up in columns, into data to be shift in to the rows?
A basic code example will be apreciated. Thanks
CM.
alphi said:www.lancos.com have this project.
lgeorge123 said:Hi rojo, I read your article ,there are somethings i do not understand.
LED_DATA = (ledArray & row) ? 1 : 0;
the above code "? 1 : 0" i don't know what its means! i am a pic user.
LED_DATA = (ledArray[i] & row) ? 1 : 0;
if (ledArray[i] & row)
LED_DATA = 1;
else
LED_DATA = 0;
This info can be found in every C and C++ programming book.`C++ How to Program´ said:...Code:if ( grade >= 60 ) cout << "Passed"; else cout << "Failed";
C++ provides the conditional operator (?:) that is closely related to the if/else structure. The conditional operator is C++'s only tenary operator - it takes three operands. The operands, together with the conditional operator, form a conditional expression. The first operand is a condition, the second operand is the value for the entire conditional expression if the condition is true and the third operand is the value for the entire conditional expression if the condition is false. For example, the output statement
contains a conditional expression that evaluates to the string "Passed" if the condition grade >= 60 is true and evaluates to the string "Failed" if the condition is false. Thus, the statement with the conditional operator performs essentially the same as the preceding if/else statement. As we will see, the precedence of the conditional operator is low, so the parentheses in the preceding expression is required.Code:grade >= 60 ? cout << "Passed" : cout << "Failed";
The values in a conditional expression can also be actions to execute. For example, the conditional expression
is read, `If grade is greater than that or equal to 60, then cout << "Passed"; otherwise cout << "Failed".´ This too, is comparable to the preceding if/else structure. We will see that conditional operators can be used in some situations wheres is/else statements cannot.Code:cout << ( grade >= 60 ? "Passed" : "Failed" );
lgeorge123 said:dataPtr=&led_chars[message[0]-0x20][0] , i don't know the meaning
of [message[0]-0x20][0], why should it -0x20??????????