Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Welcome to he forum. Question 1: Something...

    Welcome to he forum.

    Question 1:
    Something like

    random randomnum1
    dice1num = (randomnum1//6)+1


    Question 2:
  2. Replies
    3
    Views
    3,499

    Sorry, I have never used PiBasic with the MPLAB...

    Sorry, I have never used PiBasic with the MPLAB plugins so cant help you with that but I'm sure someone else will chime in with ideas.

    I would suggest that you download Microcode studio and give...
  3. Replies
    8
    Views
    4,463

    http://www.rickard.gunee.com/projects/video/pic/ho...

    http://www.rickard.gunee.com/projects/video/pic/howto.php

    Happy reading.
  4. Thread: random problem

    by locko
    Replies
    5
    Views
    3,345

    What about using your adcin 'audio' value as the...

    What about using your adcin 'audio' value as the seed - it seems like it should give you some randomness.
  5. Replies
    2
    Views
    4,479

    i gave up on it

    I tried this last year and gave up on it. Without using fast AD devices the results were not what I was hoping for - unless someone know a better way.

    Below is a link to the project files (VS2008)...
  6. Thread: ROM Emulation

    by locko
    Replies
    3
    Views
    4,127

    You are right about the access times of the chips...

    You are right about the access times of the chips Vs a pic, somewhere in the 90 to 120ns depending on manufacturer but I dont know fast the ECU will read off the data, I doubt it will be running as...
  7. Thread: ROM Emulation

    by locko
    Replies
    3
    Views
    4,127

    14 bit address bus.... 8 bit data bus... 2 bit...

    14 bit address bus....
    8 bit data bus...
    2 bit chip and output enable.....

    Lots of pins already, but it could be done. You would need to monitor the OE and CE pins and then read the address and...
  8. Replies
    5
    Views
    5,421

    too late again!

    I was thinking of trying this one for a future project...
    After a few day dreams, I was leaning towards not tracking the wheel movement but use an independent rotating fan type thing that I could...
  9. Replies
    2
    Views
    3,977

    http://en.wikipedia.org/wiki/Mass_flow_sensor

    http://en.wikipedia.org/wiki/Mass_flow_sensor
  10. Thread: Random Numbers

    by locko
    Replies
    12
    Views
    8,616

    This is untested, but was thinking of trying it...

    This is untested, but was thinking of trying it someday....

    The theory.
    Leave an analog pin floating and take a voltage measurement to use as the seed for the random number.

    Not sure how mach...
  11. Thread: Random Numbers

    by locko
    Replies
    12
    Views
    8,616

    I place a random statement to the main loop, that...

    I place a random statement to the main loop, that way while waiting for a button push you are randomizing in the background.

    Paul
  12. I made a simple temp/rh controller for my wife's...

    I made a simple temp/rh controller for my wife's crab tank a long time ago. I found better results when I averaged the readings and gave it a plus/minus window. Eg. temp drops below the low setting -...
  13. Replies
    4
    Views
    4,618

    No idea!!

    Wayne,

    I'm affraid not, I have been trying to modify the core assembler files and come up with PBP code to handle interrupt transfers for an outstanding project of mine but without any luck. No...
  14. Replies
    4
    Views
    4,618

    Probably not a help...

    Hi wayne,

    I'm not 100% sure what you are describing so correct me if im wrong..
    As I undersatand it, you are sending data from a pic which is recieved by the PC application and then the...
  15. Replies
    11
    Views
    5,333

    Just more questions

    OK, I have messed around with my setup a little.
    I have tried moving my pbp folder to different locations and can not get the same error.
    MCS+ runs fine with and without admin rights here.
    The...
  16. Replies
    11
    Views
    5,333

    another question

    I removed the MCS+ link to pbp and when I tried to compile something it did a search and found it - so if it is still saying no compiler etc, it is either not in the standard directory or it is in...
  17. Replies
    5
    Views
    3,474

    Humble appologies to Mister-e :), it was a long...

    Humble appologies to Mister-e :), it was a long time ago I saw the util......

    Paul
  18. Replies
    5
    Views
    3,474

    Your right

    Hi Chris,

    You are right on with your thought process, all you have to do is put it together and try it out. The basic clock freq for the timer is 1uS for a 4MHz osc (fosc/4).
    You will find plenty...
  19. Replies
    11
    Views
    5,333

    I have the same setup as you and it all went on...

    I have the same setup as you and it all went on fine.
    If you have tried installing with admin rights and tried running with admin rights, the only other thing I can think of is.....
    Are you...
  20. Replies
    6
    Views
    8,910

    Hi Dave, Thanks for the reply. Got that...

    Hi Dave,
    Thanks for the reply.



    Got that far. My descriptor is set for 1 interface and endpoint1in is set for 8 byte buffer length and interrupt.


    Not sure about this one. I have no report...
  21. Replies
    6
    Views
    8,910

    Thanks Skimask, the demo was fantastic - I used...

    Thanks Skimask, the demo was fantastic - I used it as my jump point to get in to USB but as DT says, there is nothing for interrupt transfers.

    Thanks for the replies guys, it looks like I may be...
  22. Replies
    6
    Views
    8,910

    how to respond to EP1 interrupt requsts?

    OK, I give up..... has anyone got any experiance of handling interrupt transfers using the microchip USB framework code, USB18.asm etc.

    I have been reading through the files (on and off for 2...
  23. Replies
    8
    Views
    6,974

    Caps?

    If you dont mind extra components, a small capacitor before your limiting resistors would give the affect your looking for.

    Paul
  24. Replies
    4
    Views
    4,511

    Couple of things to keep in mind with Vista.... ...

    Couple of things to keep in mind with Vista....

    The vista UAC... the program files folder can only be written to by a program with administrator rights. If you keep your pic files in your...
  25. Replies
    15
    Views
    10,464

    Hah! I would never have thought about using a...

    Hah! I would never have thought about using a 7805 for that purpose..... Nice!
    I will never forget this one, hehehe
Results 1 to 25 of 40
Page 1 of 2 1 2