I am trying to take advantage of picbasic Pro, and a smallpic to create an I2C to Smart Card interface. The point is keep it as simple aspossible and with the least amount of components as possible....
Type: Posts; User: aherrera; Keyword(s):
I am trying to take advantage of picbasic Pro, and a smallpic to create an I2C to Smart Card interface. The point is keep it as simple aspossible and with the least amount of components as possible....
I have PicBasic Pro 2.50c and I need to create a small HID device that receive an ASCII code via serial and convert it into a key stroke through the HID USB output. I have never done anything...
That sounds perfect, since the pulse could be a short as 2 uS. I am using a PIC12F509 and if you could please give me an example for this one I will really apreciate it...
By the way, what I need is...
I am using the following code to detect when a pulse arrives at a pin:
Wt:
IF fin = 0 then Wt
It works well, since the pulse is only a couple of micro seconds long and I am running at 4...
Thank you both a million for your help, I had done it with ASM and ENDASM but not as elegant as Bruce did, I just coded the delay using NOPs and the the eight pulses hard coded.
Thanks for your response, I did try, but something very odd happens, I changed it to an infinite loop to produce a frequency that I can measure:
Loop:
Toggle PulsePin
@NOP
@NOP
@NOP
@NOP...
Is there a simple way to generate a square wave (short burst 8 pulses) at 40 KHz using a PIC12F509 and PicBasic Pro?
I want to thank everybody for their great help. I think I have enough to get me going here...
Thank you for your help, so, you think is over rated, I see you are de-bouncing by pausing, but this will cause the software to repeat the press if someone holds the button pressed, the button...
I am not checking every pin; I am using the button command so I can de-bounce the switches.
I am using the 5 button commands to handle 5 push buttons in my application. No auto repeat is used, just a simple if pressed… then do… My software checks on each button in order or importance, and...
Thanks a million for the quick response...
I am working in a fairly complicated PicBasic Pro project that includes a flash memory, real time clock, 4 line LCD, 5 push buttons and serial communication with a PC. I started the project with a...