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...
Type: Posts; User: DaveC3; Keyword(s):
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...
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.
'...
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...
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...
Sorry, I do not have Win8. Worked on XP and 7.
Take care
Dave
7681
Try this,
No problem, sorry it does not wok for you. Did you try 4.7K pullups?
Take care
Dave
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...
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.
...
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...
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...
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 &...
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,...
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 &...
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]
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...
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
...
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,...
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
Art
I have done the same with smaller GLCDs. This display is to large to fit it in ram (I think)
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...
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...
Here is how I made a 4x40 work
5763
'****************************************************************
'* Name : USBladem4X40LCD *
'* Author : Dave...
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
Thanks Ioannis
Here is the connection example.
5492