Posts

Showing posts from April, 2010

New SD card gone Faulty? - Raspberry Pi Forums

so went turn on rpi morning , goes through boot process moment , stops. says along lines of "entering kdb (current=0xcb82ac80, pid 1) due keyboard entry kdb>" , doesn't load further that. hadn't changed since loading memory card (its 2 days old) reformatted , reloaded image. works alright little bit start getting issues video playback. audio starts getting choppy , there slight delay in video shut down rpi , turn on. again starts booting starts giving me errors , asks maintenance password. think card may have gone belly already.. there issues rpi , lexar 16gb class 10 cards? or high class cards in general? which distro running? overclocking enabled? raspberrypi

Air motor Tachometer and Speed Control

new adruino. have no code experince. very interested in learning though. need control air motor speed set set speed. would read rpm , push button set speed. if load draws motor down certian % of set speed need pull open solonoid add air increase rpm set speed. have sqaure wave input speed reference. 4 low's=1 revolution. will use pin 2 input reference. , pin 6 high output pwr transistor send 12vdc solinoid. ive played scetch found on forum under search tachometer: can't remember posted though. but not experienced enough figure out how mod use. any appreciated. # #include <liquidcrystal.h> volatile byte rpmcount; unsigned int rpm; unsigned long timeold; int pin = 2; //liquidcrystal lcd(12, 13, 11, 10,9,8,7); void rpm_fun() {pinmode(2, input);    //update count      rpmcount++; } void setup() {serial.begin(9600);   attachinterrupt(0, rpm_fun, rising);   rpmcount = 0;   rpm = 0;   ti...

actionscript button open html link _self window

hi, know stupid question i've looked on internet , can't find code button open new link within same window. know how pop-up windows , such can't figure out how open window in self flash. in advance. _root.geturl(" http://www.google.com") should work. if under frames can: _root.geturl("javascript:top.location.href=' http://www.google.com/';return false"); More discussions in ActionScript 1 and 2 adobe

AND Bitwise SPI question

Image
hi guys!, trying overcome awkward n00b-phase, have question bitwise magic came accros in sketch used read eeprom through spi bit banging. here piece of code: code: [select] int read_8(int address) { char bit; char inbit; char index; int value = 0; chip_select_low(); send_8(read); send_address(address); for(index = 0; index < 8; index++) { bit = digitalread(from_data_out); inbit = bit & 0x01; if(inbit == 1) { value = value + (0x80>>index); sclk(); } else { sclk(); } } chip_select_high(); return value; } if i'm right piece of code reads out byte bit bit starting msb , ending lsb. think understand code except line: code: [select] inbit = bit & 0x01; why line nessecary? can't 'bit' variable not used directly following if-statement? i hope can give me explanation cheers! quote why line nessecary? can't 'bit' variable not used directly following if-statement? digitalread return either high or low. high def...

pi3d: Exactly filling the screen? - Raspberry Pi Forums

is else having trouble getting pi3d 'window' fill screen? i'm displaying through composite, , seems if i'm having guess resolution... fbset reports 608x512, when use that, it's small. doing wrong? tox, reminding me, that's occurred me ages ago , forgot. in display() finds out max values , uses them if let w,h default 0,0 i.e. code: select all # setup display , initialise pi3d display = display() display.create3d(0,0) # x,y,width,height display.setbackcolour(0,0,0,1) # r,g,b,alpha raspberrypi

Rasp Pi als Mediaplayer!? - Raspberry Pi Forums

Image
als linuxneuling und seit letzter woche besitzer eines pi suche ich eine einfach lösung den pi als musik und videoplayer einzusetzen.... vorgabe ist klar die headless installation mangels monitor und keyboard .... ( hat schon mal geklappt mit whezzy ) 2012-10-28-wheezy-raspbian.zip mpd-mpc schlug leider fehl bei der installation ... siehe anderer tread. suche eigentlich die simple lösung ... player möglichst über vnc und web-server bedienbar ....( handy oder auch ebookreader über wlan) eventuell später auch remotecontrol ... die eierlegendewollmilchsau gesucht!! playlists randomplay etc sollte natürlich voranden sein ... später auch mal videoausgabe den fernseher wenn genug power übrigbleibt ! hat jemand einen vorschlag welche sw installiert werden sollte??? danke eric also nach dem die vorschläge etwas mau waren !? habe ich selber mal auf der neuen whezzy raspberry distro ... headless works charm! in der reihenfolge ....mpd mpc ...tinyvnc... usb automatisch gem...

Serial speed vs performance

Image
was wondering if serial speed (ie serial.begin( )) has impact on overall system load? i have 2 arduino boards talking , forth on serial interface , want happen fast possible. there reason should not run both @ max speed listed of 115200?  the boards within inches of each other. ty keshka well, have impact on system load if read/write characters possible. @ 115200bps, means 1 character available transmit or receive every 86.8 microseconds. takes 10 microseconds "handle" character, means you're spending 11.5% of time dealing serial port. at 38400 bps, 1 character 260 microseconds, still takes 10 microseconds handle character, you're spending 3.8% of time dealing serial port. of course, if send out character once in while, , not continuously, 115200bps vs. 38400bps doesn't matter @ all. Arduino Forum > Forum 2005-2010 (read only) > Softwar...

Thread: Web development, git, and file permissions

hi. posting see what's common approach in situation: - doing web development wit git behind it, , in pc have apache configured userdir mod. local repo in public html. got site , running after setting less restrictive permissions repo. thing if when pull remotely did not exist in local repo, new files , folders created default permissions, , cannot read apache. same when 1 creating new files , commiting. so, each new file appears in repo, need go , change permissions. little annoying.... guys avoid this? thank you. there package called incron can configure monitor directory. can create rule such whenever new file created in directory, command or script executed. command, example, run code: chmod -r 755 /var/www chown -r www:www /var/www (there ways tailor command specific file created, don't have use -r flag too...) problem may affect incron monitors fixed directories , not e...

remository upload problem on music files - Joomla! Forum - community, help and support

Image
after suggestions here have installed remository joomla site, , managed downloads loaded , working (pdf docs). however, when try , add (upload) music files error " the file not specified " in alert box after file appears have spent few minutes uploading. i have configured remository right filename extensions, , have ensured allowable max file size big enough... other ideas why might happening, , error means? please correct me if i'm wrong original developers of remository not supporting moves joomla. you might better find alternative module until sombody take on joomla project. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Submit a link without varification - Joomla! Forum - community, help and support

howdy.  setup joomla on upcoming website portal here , want friends/users able submit links , news without having authorize admin account.  basicly want link dump categories. please let me know if im missing option or anything, ive looked everywhere!  as far links go think can set in global settings. as far news , content go, thinking have make users publishers around having authorise submitted news/content Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Problem with AF_Wave util.h

i have made advanced wave shield class, works. don't understand. see simple test program, contains 1 separate header file mediaplayer.h. headers in in folder libraries\af_wave. when remove #include "util.h", receive error: error: af_wave.h: no such file or directory code: [select] #include <avr/pgmspace.h> #include "mediaplayer.h" #include "util.h" // works //#include "util.h" // error: af_wave.h: no such file or directory void setup() { } void loop()                     {     } tab (extra header file mediaplayer.h) code: [select] #ifndef mediaplayer_h #define mediaplayer_h #include <af_wave.h> #include <wave.h> #endif the error message wrong, util.h has nothing mediaplayer.h Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs >...

Conflict i2c-dev and snd-bcm2835 Conflict - Raspberry Pi Forums

i have problem appears odd conflict between i2c-dev , snd-bcm2835 occurs when trying play multiple sound files (in case mp3's) simultaneously using 2 or more terminals ssh mac across ethernet. background final application (a model amusement park 11yo son's school project) require multiple short sound effects being played simultaneously multiple channel control of lighting , motors using adafruit 16 ch pwm doing smd soldering (about 1000 resistors , leds) , model making, doing background programming (by seat of pants) , timing , pattern configuring - great project , form basis of in school rpi sessions "snd-bcm2835" in /etc/modules config works fine both "snd-bcm2835" , "i2c-dev" there problems eg first , command work fine , play ok, second or third instance receive mpg123 smooth.mp3 [module.c:142] error: failed open module jack: file not found [module.c:142] error: failed open module portaudio: file not found [pulse.c:84] error: fail...

simple soft-button issue.

Image
i'm sorry if little stupid, i'm totally new (i got board yesterday ) i'm trying code "soft button". press once circuit turns on (a led in case) press time , turns off... works, partially. of times when hit button led light until release button. if press many times in row produce desired effect , turn on or off led. code: [select] int flashled    = 11; int statusled   = 13; int actionbtn   = 12; int btnvalue    = 0; int softvalue   = 0; void setup(void) {  // initialize inputs/outputs  pinmode(flashled, output);  pinmode(statusled, output);  pinmode(actionbtn, input);  digitalwrite(statusled, high); // want know when avr done booting } void loop(void) {  btnvalue = digitalread(actionbtn);  if (btnvalue == low) {    if (softvalue == 0) {      softvalue = 1;    } else {      softvalue = 0;    }  }  if (softvalue ==...

Help on mounting ext4 usb drive - Raspberry Pi Forums

Image
hi, trying mount usb drive mounted read-only. blkid have: code: select all /dev/mmcblk0p1: sec_type="msdos" uuid="9dcf-4197" type="vfat" /dev/mmcblk0p2: uuid="f10ba0bd-17e0-4800-b0af-19bb2ed45acd" type="ext4" /dev/sda1: label="32gb" uuid="ec22c5f222c5c236" type="ntfs" /dev/sdb1: label="1.41.12-2647" uuid="cd2b07f2-2e61-4f07-b755-9bb754c1d976" type="ext4" mounted in /etc/fstab code: select all proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 /dev/sda1 /mnt/downloads ntfs-3g defaults 0 0 #uuid=cd2b07f2-2e61-4f07-b755-9bb754c1d976 /mnt/usb2 ext4 defaults 0 0 ok other usb drive (ntfs-3g) ext4 formatted drive mounted read-only. ran fsck.ext4 /dev/sdb1 code: select all e2fsck 1.42.5 (29-jul-2012) 1.41.12-2647: rec...

Digitemp and JpGraph

[size=14]can arduino+ethernet shield used digitemp or jpgraph software ?[/size] digitemp , jpgraph programs pc running linux or windows. you have arduino collect temperature data  for these packages , send data pc processed...  (read still have write lot of code) digitemp solution seems redundant...  since it's designed read dallas 1-wire temp ic pc. i'm not sure want go way when pachube seems closer want... , it's arduino ready. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Digitemp and JpGraph arduino

Sending X Y Coordinates Through Serial USB?

i brannew processing/arduino. taking class @ school, class behind me, , teacher won't me out until class catches up. i need figure out how x , y coords arduino through serial usb. i cant figure out atoi thing. (but understand should - ascii integer) so.... arduino takes bites, or something. you have convert ascii stuff. and have number 255. i thought simple task. need coords program , taking lot longer want to. spent few hours looking @ other posts! i pretty sure http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1231650517 is trying do. i cant make sense of it. are x, y coords being sent processing? strings or numbers? sent 1 @ time, or together? if data being sent processing string data, , numbers sent together, need include sort of beginning of packet , end of packet markers, delimiter between values. send string this: <12, 45> the arduino can read serial data, discarding data until sees <. then, knows data stream contains valid data. it read...

interfacing with visual studio 2005 c++

hey all sorry such basic question im new , having problems getting sample header , class file work within visual studio 2005.  the sample code using @ arduino.cc/playground/interfacing/cppwindows cant compile. keep getting following error error      5      error lnk2005: "public: __thiscall serial::serial(char *)" (??0serial@@qae@pad@z) defined in serial.obj       can tell me changes need make template class , header code given on site compile visual studio 2005 ? thanks in advance g Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > interfacing with visual studio 2005 c++ arduino

[RESOLVIDO] download Com Identificação - Joomla! Forum - community, help and support

seguinte tinha um sisteminha no meu antigo site em asp onde tinha algumas páginas com links para downloads de alguns documentos em word(editais). ao clicar no link ao invés de apontar pro arquivo eu levava uma página onde obrigava o internauta digitar alguns dados tais como razão socia, cgcl, email, fone, etc. ao enviar eu registrava num banco de dados estas informações além da data/hora e nome arquivo que foi feito download. posteriormente eu acessava uma página simples listagem dos arquivos baixados assim como quem e que data/hora foi baixado. bom eu preciso passar esse esquema para o joomla então eu pergunto, o docman ou o remository poderíam ser utilizados para este fim ou terei de fazer um componente específico neste caso? não conheço um sistema de download que faça isto, pelo jeito vc vai ter colocar mão em código. fabmak Board index Joomla! International Language Support International Zone Portuguese Forum ...

arduino uno without the functions...

Image
  hey there....my arduino uno arrived yesterday , have questions guys. i'm interested in how c handles requests wondering if there tutorial online actual physical  addresses used in communicating it.    i how simple interface software makes communicate board lack of main function , use of macros , constants doesn't let see much.   i appologise in advance if has been asked before , thank who's willing give me few tips... oh ....and since first post on board i'd it's nice part of community , hope able whatever can when learn more . cool, arduinoist. the datasheet of processor http://arduino.cc/en/main/arduinoboarduno in combination files in installation_directory\hardware\arduino\cores\arduino should start. regards, jeroen Arduino Forum > Forum 2005-2010 (read only) > Software > Development ...

Thread: I need help guys

cre eqplnk mhc_no=lmhc10006 nodebid=69 wcmps0029 lu=0010702 vpi=69 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc20002 nodebid=95 wcmps0030 lu=0010702 vpi=95 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc10006 nodebid=61 wcmps0028 lu=0010700 vpi=61 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc10005 nodebid=57 wcmps0028 lu=0010702 vpi=57 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc20002 nodebid=97 wcmps0030 lu=0010700 vpi=97 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc20003 nodebid=104 wcmps0030 lu=0010602 vpi=104 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc20003 nodebid=110 wcmps0031 lu=0010602 vpi=110 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc20005 nodebid=128 wcmps0031 lu=0010700 vpi=128 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc20000 nodebid=73 wcmps0029 lu=0010702 vpi=73 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc20005 nodebid=122 wcmps0031 lu=0010702 vpi=122 vci=64 trty=0 pcr=75 cre eqplnk mhc_no=lmhc10005 nodebid=55 wcmps0028 lu=0010600 vpi=55 vci=6...

MCM Electronics - Raspberry Pi Forums

so placed order mcm electronics last week, since had 512mb pi in stock. got confirmation order. expecting delivery on friday or saturday, , forgot since getting ready pycarolinas past weekend. when got home last night, found had shipped other items, not raspberry pi. invoice showed backordered on pi, , didn't charge me it. went emails , found sent ack next day showed pi backordered. typically company ask if want partial order, didn't. did else order pi @ mcm showing in stock end receiving backorder notice? has in stock in us? francois don't believe in has stock right pretty sold out on newark in 24 hours mcm little late in getting them in have thought sold out quickly. ebay right one's have seen not worth scalping costs. can't find order link on adafruit , checking mcm have kits won't break them down have buy case, power, etc. might want send them email see can you. raspberrypi

Go to URL - only works once!

i use go url behavior in full screen director presentation open pdf file in browser. problem when user leaves browser open and returns director presentation. if user clicks on button open pdf file again, browser window remains in background , since presentation full screen user has no way of knowing happening. has fix this? thanks help! zack zacharyguidry@hotmail.com you try modifying behavior. try: gotonetpage myurl, "_new" in both places instead of: gotonetpage myurl if fails, try buddy api instead: < http://www.mods.com.au> More discussions in Director Lingo adobe

Problem of candidates

hi, i writing alarmclass , alarmsmanager class. i got error : quote c:\arduino\arduino-0021\libraries\alarmsmanager\alarmsmanager.cpp: in constructor 'alarmsmanager::alarmsmanager()': c:\arduino\arduino-0021\libraries\alarmsmanager\alarmsmanager.cpp:3: error: no matching function call 'alarm::alarm()' c:\arduino\arduino-0021\libraries\alarm/alarm.h:10: note: candidates are: alarm::alarm(int, int, int) c:\arduino\arduino-0021\libraries\alarm/alarm.h:8: note:                 alarm::alarm(const alarm&) this header of alarm class code: [select] #ifndef __alarm_h__ #define __alarm_h__ typedef void (*ontick_t)();  // alarm callback function typedef class alarm {      public:            alarm( int hours, int minutes, int seconds );            ~alarm();            void set_minutes ( int pminutes );       ...

Thread: LVM Encryption Question

Image
sorry if stupid question, i'm still learning linux. basically, i've decided , totally defect microsoft-land! here's question. not withstanding obvious importance of phase-phrase, what's effective encryption bit-rate lvm + encryption ubuntu 8.04 lts? thank help! -cc find out yourself: code: cryptsetup create test /dev/ram0 dd if=/dev/mapper/test bs=32k of=/dev/null that's max speed encryption can run at. depending on exacting cipher , hash, can 120+ mb/s, limited speed of hard drive, not encryption. Forum The Ubuntu Forum Community Ubuntu Specialised Support Security [ubuntu] LVM Encryption Question Ubuntu

class Serial:: for windows

Image
i know c object oriented c++ not strong side yet.   i'm trying use class serial page arduino.cc/playground/interfacing/cppwindows i can code: [select] ... serial::serial((char *)"com6"); but can't instantiate new object writedata dynamic member of serial class.. code: [select] serial *serauto; serial *serdynamic = new serial; serial::serial((char *)"com6"); // here ok.    if(serdynamic->writedata("7",1)) // not ok!    {        //alles ok    } error: ...mainwindow.cpp:70: error: no matching function call 'serial::serial()' how must object instantiated can used send character?? there no working example uses serialclass... let's make 1 now? c++ serial port class windows, here working link http://www.arduino.cc/playground/interfacing/cppwindows Arduino Forum > Forum 2005-2010 (read only) > Software ...

Thread: Windows "Jump" from panel to panel in maximized mode

certain applications when maximized, through double clicking on title bar maximize window, subsequent clicks cause window "jump" sticking top panel or bottom panel. notable program i've run has problem inkscape, though have had problems in running freeciv. using compiz , removing title bars windows lessens "jump" distance down few pixels, leading me believe may resolution related issue (window big, desktop small, can't cope) running @ 1024x768 if helps, cannot seem increase 4:3 resolution beyond that. lastly, , obvious @ point, new ubuntu/linux. recent convert dreaded microsoft overmind, please; small words, no flashing lights, no loud noises. thank time ~z beeble king Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] Windows "Jump" from panel to panel in maximized mode Ubuntu

HELP! How to HighLight a line in Textarea?

i posted message few days back, , no 1 responded, thought i'll post again. does know how highlight line in textarea component? clicking anywhere inside textarea highlight entire line, if selecting line. same kind of highlighting in tree component, when clicking on tree node, tree node highlighted. or datagrid component, when clicking on cell in datagrid, entire row selected , highlighted. thanks. under text area, put panel, set array of y positions of text area each line. then on click of text area set y position of underlying panel closest y current mouse position. thats thing can think of without splitting text list or something. More discussions in Flex (Read Only) adobe

CSS Inherit Not Working (Need Help )

try might, can't border style inherit. found below code in published article , tried it. unfortunately, did not work stated or have predicted. basically, can't border or other non default inherited style work. when render below html 3rd paragraph starting words "you can...." not have border, either <a href>. accoding article , understanding of inheritance should. here link article. original article any appreciated. ---- <!doctype html public "-//w3c//dtd html 4.01 transitional//en"> <html> <head> <title>css structure</title> <style> div { font-family: arial; color: blue; font-size: .9em; border: 1px solid black; } p { border: inherit; } a { border: inherit; } </style> </head> <body> <p> information technology (it) has been famous , attractive field in last 20 years , many students choose study computer science , information system qualify them work programm...

OMXPlayer,OK subs and audio but NO Video with 128/128 for .. - Raspberry Pi Forums

omxplayer, ok subs , audio no video 128/128 files. in case, file have: codec: omx-h264 hxw: 1920x1080 profile: 100 fps: 23.97 have avi file these properties played well: codec: omx-mpeg4 hxw: 704x380 profile: 15 fps: 23.97 idea? ps: means profile number? what media info report ( http://mediainfo.sourceforge.net/en/download ) raspberrypi

Help - Building a packet for W/L transmission

using cheap rf wireless modules , virtualwire library i`m trying send data 1 arduino can read in data processing sketch. figured best way decide on specific format , make packet before sending it. i had decided on packet starting 1 command byte, followed number of data bytes, until comes terminating character. the examples in virtualwire documentation sends strings this.. code: [select] const char *msg = "hello"; vw_send((uint8_t *)msg, strlen(msg)); my problem building string send. lets want send sonar range result. first byte s, distance integer follows, add terminator. attempt.. code: [select] void rfpacketout(char commandchar, int data) {  char* packet;  char* buffer;  packet[0] = commandchar;  itoa(data, buffer, 10);  strcat(packet, buffer);  strcat(packet, "\n");  vw_send((uint8_t *)packet, strlen(packet));  serial.println(packet); } but if try rfpacketout('a', 134); serial , w/l output both blank. i don`t think know enough strings/c...

Problema al instalar mosCE 1.0.3 Final - Joomla! Forum - community, help and support

me sale esté error al instalar el mosce 1.0.3 final sobre joomla 1.0.4 stable, alguien podría ayudarme o darme alguna pista sobre lo que puede causar el error. saludos. sql error: db function failed error number 2013 lost connection mysql server during query sql=select id jos_mambots element = 'mosce 1.0.3 final' sql = select id jos_mambots element = 'mosce 1.0.3 final' descarga el componente y el bot. instala el componente primero después instala el bot manualmente subiéndolo la carpeta editors de tu servidor  (parece que es un error de tiempo de ejecución máximo) y en la administración mambots/mambots del sitio/nuevo, con los valores: mosce1.0.3, carpeta editors, mambot file mosce y publicado. luego es conveniente que dejes sin publicar los otros editores. Board index Joomla! International Language Support International Zone Spanish Forum Extensiones

Joomla! Forum - community, help and support - Login

the board requires registered , logged in view forum. username: password: i forgot password resend activation email remember me hide online status session   register in order login must registered. registering takes few moments gives increased capabilities. board administrator may grant additional permissions registered users. before register please ensure familiar our terms of use , related policies. please ensure read forum rules navigate around board. terms of use | privacy policy register Board index

problem with ARRAY's

i wrote code below control 7-segment led my main questions using led variable code: [select] //lets try , light 7 segment led int g = 2;                // led connected digital pin 1 int f = 1;                // led connected digital pin 2 int e = 3;                // led connected digital pin 3 int d = 4;                // led connected digital pin 4 int c = 5;                // led connected digital pin 5 int b = 6;                // led connected digital pin 6 int = 7;                // led connected digital pin 7 int dot = 8;              //led connected digital pin 8 int led[]={0,1,1,0,0,0,0,0};              //this arr...

memory usage and arrays

Image
i curious, if declared 4 arrays, of type int, compiler allocate memory needed populate each array? or need worry using memory? an example be: program uses 70% of total available memory @ initiation.  included in deadspace 0 value of arrays?  or space needed populate 0 array @ startup? memory % part guessing  - net result, array padded @ initiation or grow in memory values stored? narf - hope makes sense   thanks!! the short answer compiler allocate memory. memory static variables including arrays no or partially initialized data allocated when system start up. variables declared outside of function static. variables declared within function have memory allocated memory stack @ runtime unless variable explicitly declared static. if insufficient memory available these stack variables, system crashes. it possible dynamically allocate memory using functions malloc tricky because of difficulty of handling case need memory there none left get. imho using malloc...

array manipulation?

hi- coming lingo/actionscript background, used being able manipulate array data @ runtime- pushing, popping, getting length, etc. useful , saves headache of having keep array index, array length, etc. separate variable. useful creating simple stacks. is there way in c missing? same storing mixed data types in array ['b', 25, 0] - might describe event params needed function - , i'd create stack of such things [['b', 25, 0], ['a', 333, 0], ['f', 212 -5]] etc. tx! --roy Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > array manipulation? arduino

ContextMenu And Tree Component

hey guys, i've been searching on web , through multiple forums, topic seems little or no responses. desire many able enable context menu individual nodes on tree component. now know it's possible because drumbeat figured out how it, doesn't appear else has. best guess using custom cell renderers, tests far have left me scratching head. i'm familar using cell renderers. can context menus show on regular objects, , nested objects, not tree nodes. i'm stumped here , hoping open possible solution. know appreciated myself, flash community in general. i'm publishing player 8 , higher. help. More discussions in ActionScript 1 and 2 adobe

Thread: Hp pavilion dv6: no sound...from headphones

Image
i've got linux mint way, 1 similar ubuntu, moreso on subject, , fact signed access soundcheck's wonderful alsa upgrade script made me post here: why not use have? anyways... here's problem (briefly): out of box install gives no sound. absolutely. yet pulseaudio shows me there sound streams coming out of stac92xx (that's name gives card according lspci intel corporation 82801i (ich9 family) hd audio controller (rev 03) (codec: idt 92hd75b3x5 ), , registers laptop's internal mic (i think). seems registers nothing 3 jack front panel want use: doesn't register external microphone, nor hear out of 2 headphones jack. of course played around volume control until eyes bled. no dice. volume control showed me among other things, master, pcm, speaker , headphones. checked max , unmuted. turned on every single option. still nothing. that's when upgraded alsa, , started playing around models in alsa-base.conf . turns out latest versiuons of alsa ...

Arduino ethernet shield and accessing SD cards

hey fellow arduino'ers.. i've got arduino , ethernet shield (the original wiznet sd card version) , ethernet wise working great. i'd use the sd card slot supposedly still unsupported ethernet library.  however know sd cards can interfaced directly arduino, after lot of inconclusive research, questions: is there way harness sd slot onboard ethernet shield using standard sdcard libraries?   are card slot pins connected directly spi pins on ethernet shield, or slot somehow interfaced wiznet chip? is there schematic ethernet shield?   so far know bring pin 4 high when using sd card, , pin 10 when using ethernet, nothing else!  the arduino site vague , may talking latest ethernet shield supported microsd slot.   any appreciated hi, i looking same thing , found this: [glow]file:///d:/desk/a/ethernetshield/ethernetshieldsdhardwarespimod.htm[/glow] this way should possible use lib (i plan try [glow]http://code.google.com/p/fat16lib/[/glow]). ...

How to control the Arduino with MATLAB in realtime

Image
i want read data arduino matlab , send result matlab arduino in realtime. how it? i know now: in matlab: s= serial('com3', 'baudrate', 9600, 'parity', 'none', 'databits', ; fopen(s) z=fscanf(s) (caculate in matlab) fscantf(s, '1'); (send result arduino) in arduino serial.print('to send matlab'); 1.i try read data arduino in matlab, "warning:a timeout occurred before terminator reached." how solve it? 2.how use arduino read data matlab? arduino read data   <-----------------------------------------------               |                                                                             |             |                                                                             |             v                                                                             | matlab read data arduino , calculate               |             |                                                               ...

Birmingham Raspberry Jam - 24th Nov/1st Dec [Date Undecided] - Raspberry Pi Forums

Image
i'm trying gauge interest birmingham (uk) raspberry jam - held either on 24th of november or 1st december depending on interest & clashes other events. if you'd interested in coming, leave comment (if either) date better similarly, if know of other events cause nasty clash (ie jam on same date) post note let me know can follow @bhamraspjam on twitter updates, i'll keep maintaining thread developments made swansea jam on december 1st, if you're aiming same date maybe use google hangout or skype link two? raspberrypi

window installation - Joomla! Forum - community, help and support

hi folk i'm trying install joomla on window hosting. my question how make site default index.php as right when go site, doesn't want open index.php. try around forum cannot find answer.is there written somewhere on "readme file" somewhere. any appreciated thanks gmsi you you're trying install in windows ... have done nor not? you need server following on ... http://help.joomla.org/content/view/34/132/ if installed can admin? eg:  http://www.sitename.com/administrator/index.php Board index Joomla! Older Version Support Joomla! 1.0 Installation - 1.0.x

Exim Security Release Missing - Raspberry Pi Forums

just heads there has been serious security vulnerability discovered in exim 4.8.0 , previous versions. 4.8.0.1 patch not yet appear in wheezy or raspbian repos. here's link the announcement . , here's redhat discussion of same issue. check version of exim command: exim4 -bv avoid having server compromised, advised run server behind hardware-based firewall no port exposure until security vulnerability patched. nice know lucky enough compile out dkim(which appears option protecting). raspberrypi

Contacts - Joomla! Forum - community, help and support

undrar om man kan minska antalet steg föratt komma fram till en person? jag vill att när man klickar på länken så ska alla personer visas direkt.. går det??? hej! jag har delat in alla kontakter olika delar, tävlingssektionen, styrelsen etc. då blir det 3 "klickningar", först kontakta oss, sen ser man tex, styrelsen. klickar man på den ser man alla personer. om man vill kan man länka direkt till en person genom menumanager. markera att du vill göra en ny menyrad/contact item, välj personen du vill länka till. eller så kan du göra en menyrad/contact table, välj vilken kategori du vill länka till. //mia Board index Joomla! International Language Support International Zone Swedish Forum Äldre versioner Forum Joomla! 1.0 Komponenter, moduler och Mambots

Embedding Images in a Document Class

i cannot figure out why error keeps getting thrown. i've tried i've known , i'm sure it's simple solution. i've created class has embedded assets , keep getting following error @ runtime. typeerror: error #1007: instantiation attempted on non-constructor. @ test$iinit() my fla file empty file test.as it's document class , has 2 images i'm trying embed in library classes on them identical whats in file. the test.as file looks this. package { import flash.display.bitmap; import flash.display.bitmapdata; import flash.display.sprite; import flash.events.event; import flash.utils.timer; import flash.events.timerevent; import flash.filters.blurfilter; import flash.geom.point; import flash.geom.colortransform; import flash.display.blendmode; import flash.events.mouseevent; public class test extends sprite { [embed(source='flash.png' )] private const myimage: class; [embed(source='pattern.gif' )] private const pattern: class; ...

author, date etc control in category/section panel.. - Joomla! Forum - community, help and support

okay, i've turned blind eye while i'm wondering if people find useful able toggle author/date/etc display in actual categories or sections themselves. why ask love using latest-items modules , don't show author on articles throughout site, except blog... when latest blog entry accesses via module on frontpage of site, people can't see author/category cause have them toggled off in global properties... see example @ http://www.designguru.org q./ Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Feature Requests - White Papers - Archived Wishlists and Feature Requests - Archive Wishlist Archives - Archived

char url[] = Combining CHAR Variables

how combine variables i have got 3 chat  variables want combined 1 char variable. @ moment char variables have fixed values should later on variable values inputdevices code: [select] char urlid[] = "/main/publishstream";     char objectid[] = "/8"; char userid[] = "/49438038"; this 3 char variables fixed values @ moment later want have variable valeus. how them combined in char variable char url[] in end char url should have following value char url[] = "/main/publishstream/9438038/8/";   you need allocate array large enough hold of strings. then, initialize new array, , use strcat copy existing arrays new array. or, use string object, , let take care of allocation , copying. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > ...

controlling a dc motor with a thermistor? + more?

hey guys, im new user arduino , matter kind of programming getting grips it. for small uni project creating thermostat system monitors temperature, , various light levels , prints them on lcd.  now that, have coded , working fine, want attatch motor circuit open , close window when temperature rises high etc. i have dc motor connected using l293d chip allow change direction.  i have code allow change direction when temp @ point, major issue motor carries on turning after temperature has gone past turning point. this burn out motor/ruin if window opens amount etc! anyway, part of code controls motor left , right via temperature level. uses 'if' funtion. code: [select]   if (analogread(0) > 930) {  motor_left();  delay(1000);  motor_stop();}    else if (analogread(0) <= 930) {  motor_right();  delay(1000);  motor_stop();} so asking, if knows how put limit on how long motor can turn on in direction.  this constrain opening window far, , same clos...

converting a html template to php

how convert html template php template? appreciated. thanks you not need anything. "foo.dwt" can used create html, or php child pages. if want it, though, can rename foo.dwt foo.dwt.php (using dw's files panel) , let dw adjust pages accordingly. -- murray --- icq 71997575 adobe community expert (if *must* email me, don't laugh when so!) ================== http://www.dreamweavermx-templates.com - template triage! http://www.projectseven.com/go - dw faqs, tutorials & resources http://www.dwfaq.com - dw faqs, tutorials & resources http://www.macromedia.com/support/search/ - macromedia (mm) technotes ================== "littlemax" <webforumsuser@macromedia.com> wrote in message news:f1sodn$6kb$1@forums.macromedia.com... > how convert html template php template? > appreciated. > > More discussions in Dreamweaver support forum adobe