Search found 236 matches
- 07 Nov 2008 15:22
- Forum: Development Boards Wishlist
- Topic: PicFlash for Linux?
- Replies: 11
- Views: 12057
I thought I just said that? You want to wait? Just pick up a pickit2 and use that for the time being. Did you not know that an emulator and a virtual machine is one in the same more or less? Hardware level..software level... -Marc All we really need is a linux version of PicFlash. Although an IDE/co...
- 19 Oct 2008 19:12
- Forum: mikroPascal General
- Topic: Check button state is very slow
- Replies: 10
- Views: 4975
Great, glad I could help..anytime;)
-Marc
-Marc
Snake4 wrote:Thanks, it is working now.
do the job.Code: Select all
porta.2 = 1 and porta.2 = 0
Snake :D
- 18 Oct 2008 21:01
- Forum: mikroPascal General
- Topic: Check button state is very slow
- Replies: 10
- Views: 4975
- 18 Oct 2008 17:58
- Forum: mikroPascal General
- Topic: Check button state is very slow
- Replies: 10
- Views: 4975
Not a problem, I figured such with the code blocks. Sure I see what you doing, basic fun LED displays:) Your English is good, not bad at all ;) Yes, I have seen Pulse Width Modulation before...a few times...hehe ok, so a few more questions:) First what PIC are you using and at what Clock speed? -Mar...
- 17 Oct 2008 18:26
- Forum: mikroPascal General
- Topic: Check button state is very slow
- Replies: 10
- Views: 4975
the delay(debounce) is part of the internal function. You can very well do this your self, but you would need to not use the Button function. Sure post your code, best method; **Insure you put the ['code'] in front of the actual start of the code, at the end of the code put in it's terminator ['/cod...
- 17 Oct 2008 07:30
- Forum: mikroPascal General
- Topic: Check button state is very slow
- Replies: 10
- Views: 4975
With that amount of code, and without the init sections, I can't isolate the issue. However, something like this might help you(Strait from the manual); Example reads RB0, to which the button is connected; on transition from 1 to 0 (release of button), PORTD is inverted: while true do begin if Butto...
- 16 Oct 2008 19:32
- Forum: mikroPascal General
- Topic: Check button state is very slow
- Replies: 10
- Views: 4975
- 15 Oct 2008 05:44
- Forum: Development Boards
- Topic: Ametter module
- Replies: 0
- Views: 1349
Ametter module
Guys, working on power stingy designs, I really think a nice module that can test various port pins, the the sourced/sinked current and make a nice display or even an basic mix-signal scope out of the already available hardware. That basic functionality is being combined, and for most, provided free...
- 15 Oct 2008 05:33
- Forum: mikroPascal General
- Topic: Sleep?
- Replies: 3
- Views: 2427
This is working as expected now, thanks janni ;) I did swap the sleep statement to the end, but that is how my logic or lack there-of is working..haha Now monitoring the power consumption is very simple. Matter of fact I have decide to create myself an ammeter module for my EasyPIC5 board:) Have to ...
- 11 Oct 2008 22:25
- Forum: mikroPascal General
- Topic: AllDigital routine for P16 and P18 MCU
- Replies: 4
- Views: 2798
- 08 Oct 2008 22:10
- Forum: mikroPascal General
- Topic: Sleep?
- Replies: 3
- Views: 2427
HAHA why I asked....lol Thank you very much Janni, very useful as usual:) Much Appreciated, -Marc Well, it's not one of your brightest ideas :wink: . If you want to check whether PIC goes to sleep and wakes up at port change, just form a loop with sleep statement in it, followed by some pin change (...
- 08 Oct 2008 05:23
- Forum: mikroPascal General
- Topic: Sleep?
- Replies: 3
- Views: 2427
Sleep?
I am running this on a 12F683(My Favorite Small PIC) @ 8Mhz. I am trying to be very stingy on power, so I am trying something like this; Procedure Interrupt; Begin If TestBit(INTCON,GPIF) = 1 then GPIO.1 := 1; //HIGH LED GP1 ClearBit(INTCON,GPIF); //Clear GPIF Delay_MS(625); //Delay, Yes I know its ...
- 08 Oct 2008 04:10
- Forum: Development Boards
- Topic: DAC via USART
- Replies: 2
- Views: 1475
- 08 Oct 2008 01:22
- Forum: Development Boards
- Topic: DAC via USART
- Replies: 2
- Views: 1475
DAC via USART
I have a EP5 board, running at 8mhz PIC16f877a, 9600,N,8,1 set in terminal program. I am using MikroPascal 8.1, I can't for the life of me get anything legible on the terminal. Am I doing something wrong? I get nothing but high acsii char on the screen, which speed up with adjusting the POT. Is this...
- 08 Oct 2008 01:16
- Forum: Development Boards Wishlist
- Topic: PicFlash for Linux?
- Replies: 11
- Views: 12057
For the time being, I have purchased a Microchip Pickit2, I am using that for burning the hex via pk2cmd in Linux. I compile in window, virtually, not tried it in wine yet. I wrote a shell-script that burns the hex with the PicKit2 device via pk2cmd. I use this with my EasyPIC5 all the time;) I am a...