Search found 17 matches

by Sender
07 Jan 2015 19:16
Forum: mikroPascal PRO for PIC General
Topic: case () of
Replies: 2
Views: 2256

case () of

Hi,
why not work in MicroPascal Pro 6.0.1 this code:

Code: Select all

case Input of
0..10: ...
11..20: ...
end;
Tnx
by Sender
26 Dec 2013 22:04
Forum: Visual TFT General
Topic: GLCD interfacing with pic using portexpander
Replies: 1
Views: 1307

Re: GLCD interfacing with pic using portexpander

Example is in MikroPascal Help - hardware Libraries / SPI Graphic Lcd Library
by Sender
03 Apr 2013 19:34
Forum: mikroPascal PRO for PIC General
Topic: How to 16F688 READ/Write dword,string ?
Replies: 4
Views: 2139

Re: How to 16F688 READ/Write dword,string ?

Thank you very much for the tip. Libraries 'Dany's library' for writing and reading EEPROM works excellently.
by Sender
02 Apr 2013 23:00
Forum: mikroPascal PRO for PIC General
Topic: How to 16F688 READ/Write dword,string ?
Replies: 4
Views: 2139

Re: How to 16F688 READ/Write dword,string ?

thanks for the reply.
My problem - I need to save and read the number of max size 469953 to EEprom
How to do it (PIC 16F688)?

The above mentioned code debugger enters a tight loop (can not step through the program)

Sorry my bad English
(translated by Google)
by Sender
01 Apr 2013 18:17
Forum: mikroPascal PRO for PIC General
Topic: How to 16F688 READ/Write dword,string ?
Replies: 4
Views: 2139

How to 16F688 READ/Write dword,string ?

this code is wrong: procedure EEprom_Read_Int(addrstart:byte;Data:integer); var Mem:array [0..6] of Char; i:byte; begin for i:=0 to 6 do mem[i]:=EEprom_read(addrstart+i); Data:=StrToInt(Mem); end; procedure EEprom_write_Int(addrstart:byte;Data:integer); var Mem:array [0..6] of Char; b,i:byte; begin ...
by Sender
22 Jun 2008 17:56
Forum: mikroPascal General
Topic: Manchester and 12F629
Replies: 2
Views: 2209

Man_Send_Config(GP1,0); ?
by Sender
25 Apr 2008 16:57
Forum: mikroPascal General
Topic: Problem - read/write integer to EEprom (12F675)
Replies: 4
Views: 3523

Thank you very much
by Sender
25 Apr 2008 09:08
Forum: mikroPascal General
Topic: Problem - read/write integer to EEprom (12F675)
Replies: 4
Views: 3523

Jan Rune wrote:Check out the built in routines hi(), lo(), higher() & highest() in your help file.
Thanks.
Please simple example
by Sender
12 May 2007 13:56
Forum: mikroPascal General
Topic: How to measure time between 2 impulses
Replies: 12
Views: 6333

TMR0 := 96; Znamená nastavení čítače hodnotou 96
Registr INTCON slouží k řízení přerušení.$A0 je to samý jak 160

Škoda že na to v součastnou dobu nemám čas,pustil bych se do toho prakticky.
by Sender
12 May 2007 09:44
Forum: mikroPascal General
Topic: How to measure time between 2 impulses
Replies: 12
Views: 6333

Ještě mě napadlo tohle: V případě že by ti stačilo měřit dobu trvání pulsu ,tak by se to dalo řešit hardwarově.Timer se dá nakonfigurovat tak že se náběžnou spustí a sestupnou hranou zastaví a přečte se načítaná hodnota.
by Sender
12 May 2007 09:30
Forum: mikroPascal General
Topic: How to measure time between 2 impulses
Replies: 12
Views: 6333

Názvy v Mikropascalu a datasheetu jsou často stejný,někdy hodně podobný.Hlavně je potřeba správně nastavit hardware procesoru.Všeobecne platí: "co není zakázaný,je povolený" Pokud člověk s daným hardwarem nepracuje,neznamená že ho nemusí obsluhovat.

(Až s tím pokročíš,dej vědět jak ti to chodí.)
by Sender
12 May 2007 08:28
Forum: mikroPascal General
Topic: How to measure time between 2 impulses
Replies: 12
Views: 6333

Já bych to zkusil takhle: Čekal bych na určitým pinu na úroveň 'H'.V ten moment bych spustil timer a pokud by nastala úroveň 'L' čekal bych na další úroveň 'H' a zastavil timer.Přečetl hodnotu timeru a vynuloval ho.Hodnotu zobrazil na display.Pokud by byla úroveň 'L' na tom pinu,čekal bych na náběžn...

Go to advanced search