Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Thread: MIDI over USB

    by DaveC3
    Replies
    7
    Views
    31,882

    Re: MIDI over USB

    I think I used a 18F4550 for this project. if you haven't already, I would suggest you first make simple HID project to see if you can get your PC to recognize your device. If you send me your...
  2. Thread: MIDI over USB

    by DaveC3
    Replies
    7
    Views
    31,882

    Re: MIDI over USB

    I did a USB Midi back in 2009, Here is the code. It has been too long ago for me to remember the specifics. Maybe it will help you get started.


    '...
  3. Replies
    52
    Views
    101,894

    Re: Decline of PicBasic ?

    I can only speak for myself, I do not make as many projects from scratch as I used to, but when I do I find PicBasic the fastest to get something put together. I am using other pre-made platforms...
  4. Thread: USBIN pain

    by DaveC3
    Replies
    10
    Views
    10,995

    Re: USBIN pain

    You can have the buffer any length as long as the discriptor is set correctly.

    example



    USBBufferSizeMax con 16 ' maximum buffer size
    USBBufferSizeTX con 16 ' input
    USBBufferSizeRX...
  5. Replies
    19
    Views
    16,323

    Re: What a Pain In The USB-utt

    Sorry, I do not have Win8. Worked on XP and 7.

    Take care

    Dave
  6. Replies
    19
    Views
    16,323

    Re: What a Pain In The USB-utt

    7681

    Try this,
  7. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    No problem, sorry it does not wok for you. Did you try 4.7K pullups?

    Take care
    Dave
  8. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    In the above loop you are writing commands over and over again. I would not expect anything to display. I have to assume the supply to this display needs to be 5v (according to the paper you...
  9. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    If you saw something on the display we are getting close. When you get a chance post the code where you saw "ell o Hello "

    Here is an initialization for a 5v display data sheet simular to yours.
    ...
  10. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    As an outside chance change your pullup resistors to 4.7K, I have never used 1k. The contrast is set in the initialization of the display. I do not think you can change it on the fly.
    And lastly...
  11. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    Without the LCD data sheet I don't think I can help ay more. Looking at the controller data sheet does not tell the whole story. There are different interfaces and component combinations for...
  12. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    or try this,


    #CONFIG
    __CONFIG _CONFIG1, _FCMEN_OFF & _FOSC_INTOSC & _WDTE_OFF & _MCLRE_OFF & _CP_ON & _IESO_OFF & _BOREN_OFF & _PWRTE_OFF
    __CONFIG _CONFIG2, _PLLEN_OFF &...
  13. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    try this


    'PIC 16F1824

    #CONFIG
    __CONFIG _CONFIG1, _FCMEN_OFF & _FOSC_INTOSC & _WDTE_OFF & _MCLRE_OFF & _CP_ON & _IESO_OFF & _BOREN_OFF & _PWRTE_OFF
    __CONFIG _CONFIG2,...
  14. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    Try this, initalization based on an arduino sketch


    'PIC 16F1824

    #CONFIG
    __CONFIG _CONFIG1, _FCMEN_OFF & _FOSC_INTOSC & _WDTE_OFF & _MCLRE_OFF & _CP_ON & _IESO_OFF & _BOREN_OFF &...
  15. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    To inilalize this display wyou need to write something like this


    high RESET
    pause 10
    low RESET
    pause 10
    high RESET

    I2CWRITE datapin, clockpin,$7C[$80,$57,$80,$6C,$80,$01,$80,$02]
  16. Thread: I2C LCD

    by DaveC3
    Replies
    46
    Views
    52,183

    Re: I2C LCD

    I do not see RESET set to any value. Portc is 0. Most LCDs I have work with the reset line needs to be high. (except if you are resetting) I could not find a data sheet so not sure about your...
  17. Replies
    4
    Views
    8,458

    Re: PIC 18f2550 USB joystick TROUBLE (burnt PIC?)

    I have made several joy stick projects over the years. A couple of observations.

    1. In your ReportDescriptor1, you have only allocated 7 bits (buttons 1 to 7) You either need to change to

    ...
  18. Thread: Help with macro

    by DaveC3
    Replies
    2
    Views
    2,253

    Re: Help with macro

    Thanks Darrel

    That worked. In this case I am using PBP 2.6, I am helping with a project that is written in 2.6

    Ideally I would like to pass variable like


    glcdline(_xpos - 15, _ypos,...
  19. Thread: Help with macro

    by DaveC3
    Replies
    2
    Views
    2,253

    Help with macro

    I an trying to write a macro to replace several PBP statements.
    I want to replace this:



    gl_x1 = 30
    gl_y1 = 45
    gl_x2 = 60
    gl_y2 = 45
    gosub gl_line
  20. Replies
    44
    Views
    45,977

    Re: 3.5" Color LCD code example

    Art

    I have done the same with smaller GLCDs. This display is to large to fit it in ram (I think)
  21. Replies
    44
    Views
    45,977

    Re: 3.5" Color LCD code example

    Art

    OK, I have another post using the same glcd as a analog clock http://www.picbasic.co.uk/forum/content.php?r=361-Color-GLCD-Project-Analog-clock

    I don't don't recall any problems with the...
  22. Replies
    44
    Views
    45,977

    Re: 3.5" Color LCD code example

    Art

    Are you referring to the clock project I posted in 2011. If so, yes it is big, I have not played with it for a while. Most of my project have no long term purpose. I tinker with things just...
  23. Replies
    5
    Views
    5,505

    Re: Four Line LCD - LCD_EBIT

    Here is how I made a 4x40 work
    5763



    '****************************************************************
    '* Name : USBladem4X40LCD *
    '* Author : Dave...
  24. Replies
    5
    Views
    9,369

    Re: Color GLCD Project, Analog clock

    Thanks Dave

    I have a lot of time on my hands, and I like playing with the LCDs. Always learning something new.

    Take care

    Dave
  25. Replies
    5
    Views
    9,369

    Re: Color GLCD Project, Analog clock

    Thanks Ioannis

    Here is the connection example.
    5492
Results 1 to 25 of 94
Page 1 of 4 1 2 3 4