Bu işlemler PicBasic ile yapılabilirmi?

Başlatan Gerok, 15 Mayıs 2008, 12:51:18

Gerok

Aarkadaşlar konu ezan vakitlerini hesaplama ile ilgili daha önce aşağıda linkini verdiğim  başlıkta tartışılmış ama sonuçlanmamış.
Ben de diyaneti aradım bu konu ile ilgili bilgi istedim, onlarda bir sayfalık hesaplama formülleri gönderdi.
Bende linkteki başlığa gönderdim ama sanırım konu eski olduğu için kimse farketmedi diye düşündüm ve bu başlığı açtım.
Yanlış bişey yaptıysam özür dilerim...
Ben bu hesaplamaları PicBasic ile nasıl yapabilirim yardımlarınızı bekliyorum.

Sevgi ve saygılarımla...

http://picproje.org/main/modules.php?name=Forums&file=viewtopic&p=137087#137087
Mum başka bir mumu yakmakla ışığından birşey kaybetmez...

Maxim

tam emin olamıyorum ama
arccos arccot gibi hesaplamalar sanırım proton+ da var ,

ACOS diye bir komut var ,
gene ATAN diye bir komut var ,
matematikten çok iyi anlayan biri incelerse daha iyi olur ,
yanlış bilgi vermek istemem ..

dediğine göre bu komutlar 16 bitlik piclerde kullanılabiliyor .

mustafa_cmbz

aynı işi yapan çok ucuz aletler var aslında onların kartlarını kullanarak istediğiniz işlemi daha ucuza gerçekleştirebilirsiniz..ben daha önce camisi olmayan bir köye bu tür bir aleti kullanarak bir sistem tasarlamıştım..

kolay gelsin...

Gerok

Üstatlar bu işe bir el atsa çözülür gibi geliyor.
Mum başka bir mumu yakmakla ışığından birşey kaybetmez...

OG

PROTON HELP'i inceleyin.

Math Operators  
The PROTON+ Compiler performs all math operations in full hierarchal order. 
Which means that there is precedence To the operators. 
For example, multiplies And divides are performed before adds And subtracts. 
To ensure the operations are carried out in the correct order use parenthesis To group the operations: - 
 
 A = (( B - C ) * ( D + E )) / F 
 
All math operations are signed Or unsigned depending On the VARIABLE type used, 
And performed with 8, 16, Or 32-Bit integers, Or 32-Bit floating point precision, again, 
depending On the VARIABLE types And constant values used in the expression. The operators supported are: - 

 Addition '+'              Adds variables And/Or constants.
Subtraction '-'            Subtracts variables And/Or constants.
Multiply '*'               Multiplies variables And/Or constants.
Multiply High '**'         Returns the High 16 bits of the 16-Bit multiply result. 
Multiply MIDDLE '*/'       Returns the middle 16 bits of the 16-Bit multiply result.
Divide '/'                 Divides variables And/Or constants.
Modulus '//'               Returns the remainder left after dividing one value by another.
Bitwise And '&'            Returns the bitwise And of two values.
Bitwise Or '|'             Returns the bitwise Or of two values.
Bitwise XOR '^'            Returns the bitwise XOR of two values.
Bitwise SHIFT LEFT '<<'    Shifts the bits of a value left a specified number of places.
Bitwise SHIFT RIGHT '>>'   Shifts the bits of a value right a specified number of places.
Complement '~'             Reverses the bits in a VARIABLE.
Abs                        Returns the absolute value of a number.
ACOS                       Returns the ARC COSINE of a value in RADIANS.
ASIN                       Returns the ARC SINE of a value in RADIANS.
ATAN                       Returns the ARC TANGENT of a value in RADIANS.
Cos                        Returns the COSINE of a value in RADIANS.
DCD                        2 n -power decoder of a four-bit value.
Dig                        Returns the specified decimal digit of a positive value.
EXP                        Deduce the exponential function of a value.
LOG                        Returns the NATURAL LOG of a value.
LOG10                      Returns the LOG of a value.
Max                        Returns the maximum of two numbers.
Min                        Returns the minimum of two numbers.
NCD                        Priority encoder of a 16-Bit value.
POW                        Computes a VARIABLE To the power of anotehr VARIABLE Or value.
Rev                        Reverses the order of the lowest bits in a value.
Sin                        Returns the SINE of a value in RADIANS.
Sqr                        Returns the SQUARE ROOT of a value.
TAN                        Returns the TANGENT of a value in RADIANS.
Div32                      15-Bit x 31 Bit divide. (For Melabs compatability only)
FORUMU İLGİLENDİREN KONULARA ÖM İLE CEVAP VERİLMEZ.