Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: rubisharmax; Keyword(s):

Search: Search took 0.00 seconds.

  1. Re: Serin and usbout in the same code-problem?

    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...
  2. Serin and usbout in the same code-problem?

    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...
  3. Replies
    14
    Views
    7,023

    Re: Serin and Serout problem

    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...
  4. Replies
    14
    Views
    7,023

    Re: Serin and Serout problem

    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...
  5. Replies
    14
    Views
    7,023

    Re: Serin and Serout problem

    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...
  6. Replies
    14
    Views
    7,023

    Re: Serin and Serout problem

    @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...
  7. Replies
    14
    Views
    7,023

    Re: Serin and Serout problem

    Thanks AvionicsMaster1, I currently use 4MHz but I'll also try 20MHz to see if it'll make better.
  8. Replies
    14
    Views
    7,023

    Re: Serin and Serout problem

    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...
  9. Replies
    14
    Views
    7,023

    Re: Serin and Serout problem

    Thanks timmers, I did what you said but still not working :(
  10. Replies
    14
    Views
    7,023

    Serin and Serout problem

    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...
  11. Replies
    4
    Views
    2,663

    Re: USBout problem

    Thanks a lot for the useful information.
  12. Replies
    4
    Views
    2,663

    Re: USBout problem

    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?
  13. Replies
    4
    Views
    2,663

    USBout problem

    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...
Results 1 to 13 of 13