Search Results - MEL PICBASIC Forum

Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: Doing something at predefined amount of steps?

    Just did a quick test on the demo version of PICSimulator.exe with the attached hex file. This program was built for 16F84 and the whole basic code is this:



    led var portb.0

    start:
    high led...
  2. Re: Doing something at predefined amount of steps?

    Free, I do not think so. Cheap yes...

    http://www.oshonsoft.com/pic.html

    Ioannis
  3. Re: Doing something at predefined amount of steps?

    Does this come close to what you want?



    SELECT CASE slider_adc
    CASE 300
    SELECT CASE head_rotation
    CASE 100
    do_this1
    ...
  4. Re: Doing something at predefined amount of steps?

    Can't Select case help?

    Ioannis
  5. Replies
    4
    Views
    194

    Re: 16F887 hersout doesn't work

    Before anything serious, I always try the stupid LED flash test program, best on a pin with no ADC, PWM etc. This way I am sure, clock is OK, configs are OK, so I can move on to the more juicy stuff....
  6. Replies
    4
    Views
    194

    Re: 16F887 hersout doesn't work

    I would add also these:

    DEFINE HSER_BAUD 9600

    And depending on the electric connection of your serial output (TTL or Inverter driver like MAX232 chip) also see this register:

    BAUDCTL =...
  7. Replies
    6
    Views
    193

    Re: Component recomendations

    Give special attention to the SOA as Henrik stated. At any current! Be carefull because high voltage has many traps.

    Ioannis
  8. Re: Is it possible to make LCDOUT asynchronous?

    You have to change your way of thinking.

    Give the timer example I posted on the other thread a chance and walk your way from there.

    What you ask for is time sharing and the best candidate is...
  9. Re: Generate a non-blocking pulse with an Interrupt Service Routine

    I do not agree. See this example where interrupt by Timer1 happens every 50ms and ISR increments time variable up to 20 and then toggles a LED.

    All this while main loop is doing silly things.
    ...
  10. Re: Generate a non-blocking pulse with an Interrupt Service Routine

    Your loop should take at least 50-100 ms for the buzzer to be enabled.

    Ioannis
  11. Re: Generate a non-blocking pulse with an Interrupt Service Routine

    PAUSE does exactly that. Pauses program execution for the pause time.

    If that is OK with you then go ahead. But if you need to do something in that time, then you have to consider other ways.
    ...
  12. Re: Generate a non-blocking pulse with an Interrupt Service Routine

    It can be done either by a timer and ISR or by a timer and without ISR.

    In the second case, a tight loop is necessary. And no PAUSE command allowed!

    The pulse is regularly generated, e.g. evey...
  13. Re: Non standard, 160 char LCD text displays, SPLC780 controller, anyone?

    There are cheap graphics TFT with touch and are serially controlled. If you need more info to display check out the Nextion displays.

    Used them for some experiments seems you can do magic with...
  14. Replies
    56
    Views
    15,481

    Re: Stable Adc Reading Routine

    What are you doing with that data? Are you just displaying it and you are annoyed by the flicker?

    Ioannis
  15. Replies
    56
    Views
    15,481

    Re: Stable Adc Reading Routine

    You still do not seem to understand why this is happening.

    If you want to say, switch ON or OFF a light if your ADC is more than 100 or less than 100 then you can fully understand that on that...
  16. Re: Low power accurate 6 month timer - suggestions?

    Well, they are in Switzerland...!

    Ioannis
  17. Re: High quality TFT/OLED color graphics (including movies) for 8-bit PICs/PBP

    Nextion are cheaper though.

    Ioannis
  18. Replies
    56
    Views
    15,481

    Re: Stable Adc Reading Routine

    Welcome to the world of analog to digital conversion!

    Say you have an ADC of 8 bits with Vref +5Volts. Then the analog value will be represented in digital as a 0-255 value, each step having a...
  19. Replies
    10
    Views
    637

    Re: Help with Using the Catalex MP3 Player

    Nice one Brek! Forgot there was that second switch.

    Ioannis
  20. Replies
    22
    Views
    813

    Re: Newbie Manchester Coding question

    I am sure you know very well what you are doing (I am doing the same thing also).

    But Troy has not given more details for his project.

    Ioannis
  21. Replies
    22
    Views
    813

    Re: Newbie Manchester Coding question

    Dave, he has already the sensor that outputs data in manchester encoding but has not said, yet, how the data are sent. Maybe RF or cable?

    Ioannis
  22. Replies
    22
    Views
    813

    Re: Newbie Manchester Coding question

    Usually there should be a preamble of time p in a known state, say low and then data pulses in the manchester encoding.

    Also the preamble could be a train of specific pulses, most often 50% square...
  23. Replies
    10
    Views
    637

    Re: Help with Using the Catalex MP3 Player

    Every 10msec you check for 5 seconds if there are pulses.

    If something happens in the middle of the 10ms you will loose it guess.

    So then you are trapped in the if-then loop.

    Maybe you...
  24. Re: 4x MAX7219 dot matrix modules, daisy chained, usable with PBP

    Well, you can have seperate lines for the CS\-Load from the PIC and while sending the complete set of bits, select only the CS\-Load of the specific chip. The others will not latch the data already...
  25. Replies
    12
    Views
    1,048

    Re: Pickit3 -- hate the friggin thing

    That stand alone was a crap one with no support.

    I had many issues with this and stopped using it after many faulty programming in-circuit. It took me a long time to discover it was the software...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4