Thanks Charile,
In fact I can send data thru USB using the USB CDC demo I found on this forum.
On the other hand, isn't there any way to get serial data with Serin or Serin2 and send this data...
Type: Posts; User: rubisharmax; Keyword(s):
Thanks Charile,
In fact I can send data thru USB using the USB CDC demo I found on this forum.
On the other hand, isn't there any way to get serial data with Serin or Serin2 and send this data...
Hi,
I'm trying to read data incoming to the 18F2550 using Serin and then send the read data using USBOut to the PC as follows:
DEFINE OSC 48
Include "modedefs.bas"
Buffer VAR...
Thanks Archangel, I changed the definitions as you said.
On the other hand, there's a weird problem again: I send a serial bytes of "50" and "55" from 12F675 to 18F2550. 18F2550 is supposed to...
Thanks grinder, I can now use an 18f2550 at 48MHz to receive the data sent by 12F675 at 4MHz and 9600 baud. I'll try to send the received data from 18F2550 to PC over USB using USBOUT command and...
Hi again,
Debug and debugin seems to work properly with external cyrstal. However, if I operate the transmitter at 4MHz and the receiver at 8MHz, the receiver doesn't pick the data. I also...
@longpole001 and rsocor01:
I don't know why it didn't work correctly, I could see the LED flashing properly though.
Even now it works instable so I'll try to use debug and debugin to see if...
Thanks AvionicsMaster1, I currently use 4MHz but I'll also try 20MHz to see if it'll make better.
I was using internal oscillator of 12F675 but when I changed to external XT, it seems to work better now. So, can I conclude that we shouldn't rely on the internal oscillator when we use Serin and...
Thanks timmers, I did what you said but still not working :(
Hi,
I'm just trying the communication between two PICs (both 12F675) using Serin and Serout with the codes written below:
For the transmitter:
Include "modedefs.bas" ' Include serial...
Thanks a lot for the useful information.
Thanks DT, I'll try this code. BTW, does 1ms time interval mean that we can only send 1000 Bytes of data in a second via USB?
Hi,
I'm using the following code to send data over USB which I learned from this thread: http://www.picbasic.co.uk/forum/showthread.php?t=5806
DEFINE OSC 48
Buffer VAR BYTE[1]
Cnt...