Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.09 seconds.

  1. Replies
    21
    Views
    17,450

    basic4android

    this Basic4android is indeed a great program. i just got done compiling my first app, and took me a couple of days, with the trial version.

    i went ahead and shelled the 49 bucks for the...
  2. Re: highest or lowest variable in an array; how do you find it?

    thanks guys .
    i was thinking of doing it like post #2, and i thought there was an easier way to skin it. this really helps alot with all this options.:smile:
  3. highest or lowest variable in an array; how do you find it?

    Hi everyone.
    im trying to determine the highest and lowest variable in a 50 byte array. whats the easiest way to do it?
  4. Replies
    4
    Views
    1,464

    i forgot; this is in a 18f4431 running at 40mhz....

    i forgot; this is in a 18f4431 running at 40mhz. i also tried all kinds of different speeds, but same results; program on main routine will not run



    BUTTONS:
    GRID.0(SCAN) = 0
    IF SCAN >= 39...
  5. Replies
    4
    Views
    1,464

    grid var byte[5] scan var byte ;timer 0...

    grid var byte[5]
    scan var byte

    ;timer 0 interrupt routine
    BUTTONS:
    GRID.0(SCAN) = 0
    IF SCAN >= 39 THEN
    SCAN = 0
    ELSE
    SCAN = SCAN + 1
  6. Replies
    4
    Views
    1,464

    shiftout to vfd problem

    hi everyone, i have this 20x2 vfd that is driven by four uln5812 vfd drivers. each uln5812 is a 20 bit shift register. two of the drivers take care of the 40 grids, and the other two take care of...
  7. Replies
    27
    Views
    9,450

    that is just great. thanks for pointing me to the...

    that is just great. thanks for pointing me to the right direction, Mr Mike. its all fixed now.

    cheers:)
  8. Replies
    27
    Views
    9,450

    hi, again, im trying this piece of code, from a...

    hi, again, im trying this piece of code, from a previous post


    RB_SUBMenuLoop:
    ' BTN_PLUS is the Next Choice button
    IF BTN_PLUS=1 THEN
    BTN_PLUS=0
    ...
    ENDIF
    ' BTN_PREV is...
  9. thanks for replying guys. i get the same error...

    thanks for replying guys.
    i get the same error if i uncomment the eeprom line.

    im sure there's some workaround in assembly, but for now, its off to i2c external memory and a pic with no eeprom....
  10. im reading the datasheet, and im thinking that it...

    im reading the datasheet, and im thinking that it has something to do with the EEADR register, that controls the address, being 8 bit (256 values).

    so, is there life after address 255 in picbasic,...
  11. Help;; eeprom won't read/write beyond address 255

    hi everyone.
    im trying a memory intensive app on a 18f2620, where i need to read/write ascii characters onto eeprom. this pic has 1024 eeprom bytes, but for some reason, i cannot read/write beyond...
  12. thanks for the reply. i need to write at program...

    thanks for the reply. i need to write at program time and to change the name at runtime.


    for address=0 to 14
    READ address,asciichar
    LCDOUT asciichar
    next address


    is the variable...
  13. Reading/writing arrays from eeprom to variables to lcdout

    Hi fellas. another salvo of questions if i may;

    how do you write an array of 15 bytes onto eeprom memory? is there any other way other than the "for.....next" command?

    is it possible to read...
  14. Replies
    27
    Views
    9,450

    yes, success at last.

    thanks guys, all this ideas work! now, all i have to do is implement the rtc and beeper, which are ready to be merged with this code.

    once again, thanks.

    ps; not that im complaining, but is...
  15. Replies
    27
    Views
    9,450

    thanks for all the replies guys. ive been away...

    thanks for all the replies guys. ive been away for the weekend, with no computer access. here's the code, fresh from the menubuilder application.

    its a gadget that im making, to keep...
  16. Replies
    27
    Views
    9,450

    still not functioning

    hi all
    i tried to implement the flag idea, but still the same result. menu item cycles through 3 to 6 items with one push of a button. here's the code snippet


    RB_MainMenuLoop:
    ' BTN_PLUS is...
  17. Replies
    27
    Views
    9,450

    thanks guys. i tried the capacitor method, and...

    thanks guys.

    i tried the capacitor method, and that did not work well. still skipping menu items.

    im using proteus simulation, and i tried every value of cap, 1000uf to 0.000001 uf., and...
  18. datasheet says that they are controlled by...

    datasheet says that they are controlled by OPTION_REG , bit 7 (RPBU). (pg. 45)

    same page indicates that on reset, this register value defaults to all bits being set, (1111 1111),

    so, hook up...
  19. Replies
    27
    Views
    9,450

    debouncing switches with a timer interrupt?

    hi everyone,
    im experimenting with the "menu builder" application on a 18f2431 and im having a bit of a problem. it inserts a lot of "pause 200" commands, to debounce the switches, which is causing...
  20. Replies
    14
    Views
    3,935

    thanks for all the replies. i got both...

    thanks for all the replies. i got both picmulticalc, 1.0.0 and 1.3.1 , and i still get the same missing file error. im thinking that it has something to do with the windows 7 version that im using....
  21. Replies
    14
    Views
    3,935

    im using 32 bit windows 7. maybe thats the prob..

    im using 32 bit windows 7. maybe thats the prob..
  22. Replies
    14
    Views
    3,935

    thanks again for the reply. yes, i have the osc...

    thanks again for the reply. yes, i have the osc set for 16 mhz. there's my problem!

    about picmulticalc, it starts ok in windows 7 but when you click on any of the buttons (timer calc, timer...
  23. Replies
    14
    Views
    3,935

    thanks for the reply.

    thanks for coming to my aid, guys. reload the value within the isr. now i know. the timer is working, with the offset with a new problem; im aiming for 3840 hz, and thats = 64233 offset value....
  24. Replies
    14
    Views
    3,935

    dt int timer1 ignores offset value

    hi everyone. im trying to produce a sine wave with this section of code, on a 18f2431


    INTCON = %11000000
    T1CON = %10000001
    TIMER = 64233
    TIMER.BYTE0 = TMR1L ;= $E9
    TIMER.BYTE1 =...
  25. Finally, success!!!

    after much troubleshooting, i finally found my mistake. i forgot that the pwm module has always been running at 20khz.

    i changed that to minimum allowed for 40mhz operation, which is 2.5khz, and...
Results 1 to 25 of 42
Page 1 of 2 1 2