Author |
Message |
Topic: error float decimal with sin() cos() |
T0ni0
Replies: 5
Views: 7237
|
Forum: General CCS C Discussion Posted: Thu Jul 21, 2005 12:45 am Subject: error float decimal with sin() cos() |
As a general principle, if you want accuracy stay away from floating point!
Thx, but i need make Sin() Cos() radian, how i can do without float? |
Topic: error float decimal with sin() cos() |
T0ni0
Replies: 5
Views: 7237
|
Forum: General CCS C Discussion Posted: Wed Jul 20, 2005 10:14 am Subject: error float decimal with sin() cos() |
Hi i need do this formule:
return &acos(cos($a1)*cos($b1)*cos($a2)*cos($b2) + cos($a1)*sin($b1)*cos($a2)*sin($b2) + sin($ ... |
Topic: read 'all' eeprom data |
T0ni0
Replies: 4
Views: 6091
|
Forum: General CCS C Discussion Posted: Wed Jul 13, 2005 11:44 pm Subject: read 'all' eeprom data |
Thx, i tried direction 0X100 and write/read rigth.
Before i tried acros a label (bad label of corse) and dont run
Thx for all |
Topic: read 'all' eeprom data |
T0ni0
Replies: 4
Views: 6091
|
Forum: General CCS C Discussion Posted: Wed Jul 13, 2005 9:45 am Subject: read 'all' eeprom data |
Hi,
how i can read all eeprom data? function read_eeprom(dir); is only for direction < 8 bits
i need acces more that 256 bytes eeprom
How i can do?
Thx for advance |
Topic: Code Protect Block |
T0ni0
Replies: 11
Views: 13114
|
Forum: General CCS C Discussion Posted: Wed Jul 13, 2005 8:31 am Subject: Code Protect Block |
I use MPLAB, can i write any config word value with CCS ?
I like make config word in code, not in a IDE |
Topic: Code Protect Block |
T0ni0
Replies: 11
Views: 13114
|
Forum: General CCS C Discussion Posted: Wed Jul 13, 2005 3:27 am Subject: Code Protect Block |
What version of PCH do you have ? If you have a newer version
than mine, does the 18F6720.H file show any settings such as CP0,
or PROTECT_0, or PROTECT_12%, etc. ? Or does it only have PROTE ... |
Topic: Code Protect Block |
T0ni0
Replies: 11
Views: 13114
|
Forum: General CCS C Discussion Posted: Mon Jul 11, 2005 12:28 am Subject: Code Protect Block |
I use PIC 18F6720 and i can portect Boot Block And others Block, but i dont know how i can protect any Blocks with CCS. |
Topic: Code Protect Block |
T0ni0
Replies: 11
Views: 13114
|
Forum: General CCS C Discussion Posted: Fri Jul 08, 2005 6:06 am Subject: Code Protect Block |
Hi,
I need protect code of my aplication, but i use half flash memory for data.
How i can Protect Block Boot, Data EEprom & Blocks 0,1,2,3 the rest block i need not protect (4,5,6,7)
In c ... |
Topic: How i can use ICD2 oficial microchip with CCS? |
T0ni0
Replies: 1
Views: 26378
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Tue Jun 21, 2005 4:50 am Subject: How i can use ICD2 oficial microchip with CCS? |
just it
How i can use ICD2 oficial microchip with CCS?
i see ICDU- etc... but i know how i can make to debuger my ICD2 |
Topic: BUG in CCS???? (3.126) |
T0ni0
Replies: 10
Views: 13453
|
Forum: General CCS C Discussion Posted: Fri Feb 11, 2005 6:34 am Subject: BUG in CCS???? (3.126) |
This PIC needs to make a config word for Digital I/O PortB, i think it is your problem.
For initialize PORTB Microchip says:
CLRF PORTB ; Initialize PORTB by
; clearing output
; data latches
... |
Topic: 12F683 not run |
T0ni0
Replies: 3
Views: 10566
|
Forum: General CCS C Discussion Posted: Sat Jan 22, 2005 3:48 am Subject: problem solved |
problem solved !!!
THX languer for all (& all people), the problem is the version of compiler
With this version run
setup_oscillator(OSC_8MHZ|OSC_NORMAL); // select 8M ... |
Topic: 12F683 not run |
T0ni0
Replies: 3
Views: 10566
|
Forum: General CCS C Discussion Posted: Fri Jan 21, 2005 5:07 am Subject: 12F683 not run |
Hi all,
I make a pcb with a 12F675 but not available Flash & change to a 12F683, this is the scheme of this circuit.
http://www.goto10.net/antoni/12f683pcb.jpg
When i utilize a 12F675 a ... |
|