Posts

duda variables

hola, queria sacar el valor de un puntero llamado datagram, que es o uno o cero y meterlo en un bool, pero no entendo porque no funciona, soy bastante nuevo en lo de los punteros, y no entiendo que estoy haciendo mal code: [select] void loop() {   if (detector.available()) {     unsigned char* datagram = detector.getcurrentdatagram();//esta funcion devuelve un unsigned char*     serial.print("received data:");     (int = 0; < 18; i++) {       serial.print((int) datagram[i]);// esto me imprime en serial 18 unos y ceros             int dato = datagram[i];//quiero sacar si el valor de datagram[i]es uno o cero, para sacar una array del puntero             serial.print(dato);// pero la concversion se hace mal y aqui no me imprime lo mismo     serial.println();       if(dato==1){         datagra[i]=1;     ...

Thread: wifi works OK for 9.04 and 9.10 but not in 8.04?

i using latest version of ubuntu,but main board of acer5520g broke down under 9.10 last month,the acer company changed main board , installed 8.04-i386 lst safety. find wireless card not work, search google help,it seems should install madwifi,but found no valid download,after lot of attempts surrender. put question need driver wireless card (notebook type acer5520g ,wireless card ar 5b91(detected under windows (though big fan of linux , supporter,i using 2 systems , waiting 10.04 lst save me virus braced windows) can not detect wireless card under ubuntu 8.04 works ok in 9.04 , 9.10 after installation. thanks. thanks google , original author took me 6 hours find compromise solution : use compat-wireless-ath9k_20080916-debgen1_i386 download it,install it, go system>administrator>hardware drivers enable , reboot,you see wireless card working. because can't use driver aircrack ,it called compromise so...

Linking "Active State" of Menupoints ? - Joomla! Forum - community, help and support

hi all, i have "mainmenu" , "othermenu". "othermenu" appepars on 1 site reachable "mainmenu". i have menupoint of "mainmenu" in "active state" when person browsing trough points of "othermenu". to clearify: mainmenu menupoints: a, b, c, d othermenu menupoints: b1, b2, b3 when b clicked "othermenu" appears , @ first b1 selected. b , b1 shall in "active state", same b , b2 if user selects b2, same b3. is there way ? now, when 1 point of "othermenu" selected, "mainmenu"-points change status to a:link , not #active. thanx tipps, stefan Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Find the time between HIGH state & LOW state of push button(switch).

i want find timing between high state , low state of push button. that, made program. can see program below. in program, made logic when switch pressed 1 variable "currentmillis" store value of millis() , store value until button pressed. whenever pressed button again add previous value. example, if button pressed first time suppose got 200ms, suppose if button pressed second time got 500ms , if button pressed third time got 1000ms. mean every time value added. no doubt made logic seem perfect can't figure out problem. please give me suggestions. code: [select] const int  buttonpin = 2;    unsigned long currentmillis = 0; unsigned long previousmillis = 0; unsigned long finalmillis = 0; int buttonpushcounter = 0; void setup() {   serial.begin(9600);     pinmode(buttonpin, input);   digitalwrite(buttonpin, high); } void loop() {   if (digitalread(buttonpin) == low)   {      buttonpushcounter++;   ...

Editing HTML - SOLVED - Joomla! Forum - community, help and support

hi, newbie, please forgive boneheaded questions. my site can seen here (just playground, not final location):  http://www.mysterylost.com/joomla/ i using flow red template, purchased joomla-templates.com when view site in ie , firefox, there serious differences.  have identified 1 of them, , address here.  other font related , post question in templates/css section. when viewing page source, can identify problem, however, unsure edit correct , need joomla expert help.  don't think template specific, therefore i'm asking question here in "general". i have top menu (located in user3) looking fine, want add short text string (physical therapy * consulting * in-home programs) right of there.  created module included text , placed in user3, ensuring second in order.  looks fine in ie7, in firefox, creates unwanted space between bottom of header , top menu.  when viewing source, realized top menu unordered list, , think correct problem need add 1 more secti...

LED problem

Image
ok have got arduino uno. make circuit has 7 led's, , connected digital pin 13 thru 7. blinks each in sequence, each having 400 millisecond delay between on , off. there 1 problem. tested voltmeter (not included) , voltage low. can raise voltage digital pin outputs? hi, welcome forum. please read first post in forum entitled how use forum. http://forum.arduino.cc/index.php/topic,148850.0.html down item #7 how post code. it formatted in scrolling window makes easier read. can please post copy of circuit, in cad or picture of hand drawn circuit in jpg, png? or clear picture of project. have got current limit resistors fitted each led. 400ms not long enough dmm reliable reading. tom... Arduino Forum > Using Arduino > Programming Questions > LED problem arduino

OP Amp for current measurement

Image
hey all. im looking op amp deliver me great performance amplifying voltage schunt. im gonna meassuring max current of 200ma , need use small schunt can. cant big volage drop. know of decent op amp isnt expensive , available. wanted use ina199 not available live, dont seem sell type of ina. thats reason need known... want op amp, not ic it. thanks suggestions  use shunt has 75mv output there tons of them available on aliexpress if able order there. as far op-amp boost voltage there's op-835, op-2835 or op-amps in the lm-10 , lt-1635 great ground referenced current monitoring. Arduino Forum > Using Arduino > General Electronics > OP Amp for current measurement arduino