I'm no expert, but doesn't USB run at 48MHz?
Check out Bruce's code at Rentron and see what he does.
Robert
![]()
I'm no expert, but doesn't USB run at 48MHz?
Check out Bruce's code at Rentron and see what he does.
Robert
![]()
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Hi. I have tested the communication with bruce's software and it works fine whit 20Mhz xtal. But with my code doesnt work.![]()
Got it!!! Take a look:
VB code:
' vendor and product IDs
Private Const VendorID = 6017
Private Const ProductID = 2000
' read and write buffers
Private Const BufferInSize = 8
Private Const BufferOutSize = 8
Dim BufferIn(0 To BufferInSize) <---Mistake here, need to declare as byte !!!
Dim BufferOut(0 To BufferOutSize)
Dim voltaje As String
------------------------------------------------------------
I need to write 1000 lines with the next message:
"Dont forget declaration of variables" LOL
Bookmarks