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...
Type: Posts; User: DDDvvv; Keyword(s):
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...
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:
Hi everyone.
im trying to determine the highest and lowest variable in a 50 byte array. whats the easiest way to do it?
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...
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
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...
that is just great. thanks for pointing me to the right direction, Mr Mike. its all fixed now.
cheers:)
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...
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....
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,...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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....
im using 32 bit windows 7. maybe thats the prob..
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...
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....
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 =...
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...