Re: Consulta sobre proyectos
Google translator provided a pretty good interpretation as follows:
"When we feel the need to make a conversion from binary to decimal, an operator picbasic pro includes resources that can be employed for this purpose ... The operator DIG (misnamed command) DIG operator returns the value of a decimal digit. It simply tells the digit number known (0-4, 0 being the first on the right) and go.
Put another way, for deglosar the binary value and extract the desired value, specify the following digit number of the variable to which you extracted the digit ... Assuming that you just want to remove the second value, you have to put the bit 1 logically, and you work, if you want the third value you have to put the bit2 and so sucesvamente.
Acordate the operator works in the following way:
DIG Variable = Value, Digit number
_donde variable is the variable where the extracted value keep
_DIG Is the command
_value Is the value or variable where you extract the digit
_y digit number is the bit you want to extract the Value
A simple example:
B0 = 123; Sets B0 at 123
B1 = B0 DIG 1; Set B1 to 2 (digit 1 of 123)
Consider a practical example in which we transform the binary value to decimal using the DIG operator.
The fuses would have to modify their taste and aplcacion; Sumalē This will need a 7447 to decode the output of the pic and get the display multiplexing 7 segment .."
It would be more useful if both were included I think.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks