Posts

Showing posts from July, 2010

Screen as a serial terminal - Raspberry Pi Forums

i've connected usb serial cable assembly sold adafruit ( http://www.adafruit.com/products/954 ) mac , pi. i'm trying use screen terminal to upload files dwelch67's bootloader05 ( https://github.com/dwelch67/raspberrypi ... otloader05 ). don't seem know i'm doing. i've don in former life, though. screen /dev/tty.pl2303-00004126 115200 @ point i'm stuck. thought should able issue upload command using sx, screen seems hung. i never seem make progress until make post asking question. 1) disconnect power raspberry pi. 2) connect usb-to-serial raspberry pi: ground, tx , rx. 3) plug usb-to-serial computer 4) type "ls /dev/tty.*" , identify usb-to-serial device 5) type, example, "screen /dev/tty.pl2303-00004326 115200" 6) connect power raspberry pi. 7) notice numbers received on display raspberry pi. 8) issue upload command using ctrl-a followed ": sx -kb blinker.bin" i'm stuck because transfer failing:transfer...

loadVariablesNum issue

Image
hi & help! new forum. i don't know if has been covered don't know issue if knows of answer posted, please direct me it. my issue load variables button seems work in 1 movie, while doing exact same thing in another, doesn't. i currenlty redesigning site, new changed domain, there viable , working posted example well. the 1 works is: http://www.pavilionprop.com/aboutus.html movie @ top. the 1 edited , links not work located at: http://www.kara-homes.com/aboutus.php they both should draw off of http://www.kara-homes.com/head.txt but reason, , don't know why, links not work. here link .fla file review: http://www.kara-homes.com/head.fla any input, appreciated because have beat head on wall long enough on one. try replace : %3a , / %2f in text file More discussions in ActionScript 1 and 2 adobe

Can I get some help with my code?

Image
hi, have been trying code 7 segment display run show zero.. what doing wrong? quote int = 15; int b = 14; int c = 4; int d = 3; int e = 2; int f = 16; int g = 17; int dot = 18; int = 12; int num = 0; int val = 0; void setup () {    pinmode (a, output );    pinmode (b, output );    pinmode (c, output );    pinmode (d, output );    pinmode (e, output );    pinmode (f, output );    pinmode (g, output );    pinmode (dot, output );    pinmode (but, input ); } void loop () {   num = val;      val = 1;    delay (500);   val = 2;    delay (500);   val = 3;    delay (500);   val = 4;    delay (500);   val = 5;    delay (500);   val = 6;    delay (500);   val = 7;    delay (500);   val = 8;    delay (500);   val = 9;    delay (500);   val = 0;    delay (500);      if (num == 0)   {      digitalwrite (a, high );      digitalwrite (b, high );      digitalwrite (c, high );      digitalwrite (d, high );      digitalwrite (e, high );      digitalwrite (f, hig...

Need some PROGMEM suggestions

Image
hi all, here planning do: i have many short messages display on lcd in different places in program. add few hundred bytes. i'm migrating them progmem. from sample codes wrote these lines: code: [select] progmem prog_char msg_00[]="any key start"; progmem const char *msg_item[] = {msg_00}; char msg_buffer[20]; strcpy_p(msg_buffer,(char*)pgm_read_word(&(msg_item[pt]))); //do something. basically store number of strings in flash, store address in pointer array in flash (progmem sample code). way seems work best series of strings menu options. may index message extract menu item indicator variable. if these messages have not displayed in secquence, still have define pointer array or can use char array name in way? thank you! psudo code code: [select] progmem prog_char msg_00[]="any key start"; char msg_buffer[20]; strcpy_p(msg_buffer,(char*)msg_00); // how make line work? //do something. there's not whole lot progmem on arduino.cc ...

74HC259, Compiling Error...

code: [select] boolean hc259_address[] = {0,0,0};  // sets 3-bit address array boolean hc259_data[] = {0,0,0,0,0,0,0,0};  // sets 8-bit data array // define latch address pins , data pin int hc259_a_pin = 4; int hc259_b_pin = 3; int hc259_c_pin = 2; int hc259_data_pin = 5; void setup() {  pinmode(hc259_a_pin, output);  pinmode(hc259_b_pin, output);  pinmode(hc259_c_pin, output);  pinmode(hc259_data_pin, output); } void loop() {  hc259_data[] = {0,1,0,1,0,1,0,1};  hc259_send_data();  // send 01010101 chip, lighting leds 2, 4, 6, , 8  delay(1000);  hc259_data[] = {1,0,1,0,1,0,1,0};  hc259_send_data();  // send 10101010 chip, lighting leds 1, 3, 5, , 7  delay(1000); } void hc259_send_data()  // takes data hc259_data[] , sends it, bit bit, each bit register in hc259 {  for (i = 0; <= 7; ++) // each array element  ...

[SOLVED]Shortening code...

Image
is there anyway shorten code? im making led matrix , shorten code: [select] digitalwrite(ledpin2, high); into someting this... code: [select] led2on or code: [select] led2on; i have tried using define , though compile led wouldn't turn on... edit: happy source has can modify what looking called functions. http://www.arduino.cc/en/reference/functiondeclaration you can replace repeated sections of code function. gordon Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > [SOLVED]Shortening code... arduino

Allow users to submit content - Joomla! Forum - community, help and support

i don't have use login enabled on site, i'm trying achieve this the site community site , i'd encourage users submit own content. i'm happy (and guess essential) enable user login editors, i'd enable login module shown on editor page / menu. what i'm not sure , can't see obvious suggestions in faq or via forum search... can have user able submit content specific section / category unpublished holding area editor approval. i'd editor approve , assign desired section / category , publish. is possible prevent user being able edit contribution, still submit changes editorial approval ? hope makes sense (if not, please advise , i'll try , clarify) feel free point me post / faq may have overlooked. i'm not sure extent solve problem have never tried under same circumstances, default setting mambo/joomla comes user menu, when logged in provides submit content link. user can add content , required choose specific category submission. once submitted site...

problem with a arrays in arduino programm

i array woth many elements (about 10k) byte cc[] = {...} - that and have problem access this. while array less 2.5k programm see elements. , while array more 3k programm read not right. programm in iddle read first 80 elements - null. , when increase data in array iddle read not null (not first 80 elements) i think array have restriction lenght, cant read in docs it. i whant array 100k elements , not understand hapened now... code: [select] byte cc[] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 8, 4, 16, 8, 36, 16, 8, 36, 8, 4, 16, 8, 36, 16, 8, 36, 8, 4, 16, 8, 36, 16, 8, 36, 8, 4, 16, 8, 36, 16, 8, 36, 8, 4, 16, 8, 36, 16, 8, 36, 8, 4, 16, 8, 36, 16, 8, 36, 8, 4 ... , next...}; //====================================================================== void setup() {  ddrb = b00111111;  setline (0); } //=========================...

Serial.read question ? solved; but why? ? (n00b)

Image
hi i set little 2x2 matrix of leds control "row column scanning". works great far (in fact i'm proud since i'm new electronics , c programming) as next step want control led sending serial 4 byte string ("1111" turn them on, "0001" turn off last 1 etc) first read string code: code: [select] void getdata() {  if (serial.available() > 0) {    while (pointer < 4) {      buffer[pointer] = serial.read();      pointer++;    }    pointer = 0;    pxlwrite(buffer[0], buffer[1], buffer[2], buffer[3]);    serial.print(buffer[0]);    serial.print(buffer[1]);    serial.print(buffer[2]);    serial.println(buffer[3]);  } } wich returned strange results: 1ÿÿÿ 111ÿ then accidentally added delay (line 5): code: [select] void getdata() {  if (serial.available() > 0) {    while (pointer < 4) {      buffer[pointer] = serial.read();      delay(1); //why necessary?      pointer++;    }    p...

Thread: anyone know how i would do it?

i have old computer without wireless in basement. have basic dsl. can't move modem downstairs have phone jack 10 feet computer. know how run ethernet cable phone jack computer? on ethernet cable use pins : 1 2 3 6 , connect these cables the 4 cables on phone line , same on old pc. eth---phoneline-----eth Forum The Ubuntu Forum Community Ubuntu Community Discussions The Cafe anyone know how i would do it? Ubuntu

Background running program

i wondering if possible run function in parallel main loop. trying run interrupt delay turn on , off output @ same time want keep main program running. not worried main program making sure interupt function works ( runs @ 120hz). thanks help! an interrupt input far know.  so on basis use timer ic pulse input use ensure call subroutine invert output pin. how critical 120hz output?  if float between 120-122hz, don't see why couldn't have subroutine compares current millis previous execution millis, , if enough time has passed, invert output pin?  you call sub routine between each section of main program (depending how heavy main loop is) ensure didn't miss it.  hope makes sense. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Background running progra...

HCL of what shields work together?

do have hardware compatibility list anywhere documents shields work (or more importantly don't) other shields?  for example, ethernet shield (the standard one) won't work nuelectronics colour lcd shield - 2 reason, first won't physically fit right , second, pin conflict means display won't work without lot of pcb hacking , software rewriting. i wish there list refer people don't make mistake did , buy shields won't work together. does know lcd shields work wishield , standard ethernet shield?  i think s65 shield work ethernet shield, not sure wishield, i'd prefer wireless. thanks chris so many different shields made many different firms, think keeping current list date quite task. the best offer 1 should research pins specific shield uses vs other shield 1 has or wished use. actually whole concept of shields doesn't lend it's self real use them multi building blocks. great use prototyping new software single devices, pr...

Need Help on Fatal error (include_path='.:/opt/ - Joomla! Forum - community, help and support

hello have installed joomla @ first time  , everthing goes right, the website working fine 1 day  afther backend changes receive error fatal error: main(): failed opening required '' (include_path='.:/opt/php/lib/php') in /home/www/a8406aa3b2ca495f477b7c7bba328b86/web/administrator/components/com_messages/admin.messages.php on line 19 somebody can me resolve problem? possible backup contents, users,,,, before reinstalling, or settings stored on mysql??? many thanks  implent joomla on several domains if running stable. have done changes on operating system running on? looks trying load library can't find. all settings , content stored in database, exception configuration.php. Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

Program to read another arduino's flash

i've been kicking idea around bit standalone programmer. goal able read chips flash , store writing blank chip. have reference on how accomplish this, i've googled hours haven't been able come anything. search "arduino isp".  you find 2 things... hardware connections.  how connect arduino avr processor arduino acts programmer. sketch.  open source software make arduino act programmer.  you can modify sketch suite needs. Arduino Forum > Forum 2005-2010 (read only) > Software > Development > Program to read another arduino's flash arduino

Thread: Printing takes forever

hi! have brother mfc-9840cdw connected through lan ubuntu jaunty desktop. printing in general slow. trying print jpeg picture large resolition. print job size 27 mb according print status window. has been chewing on print on 2 hours now. cpu @ 100%. whats wrong? //mathias are using samba or cups? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] Printing takes forever Ubuntu

Review area on Question Slides

Image
good morning, i'm creating several question slides , on each one, grey "review area" keeps being displayed. used learner perspective , if don't want it, how rid of it? i've checked each of question tabs can't find deselect. thanks help, helen hi helen let's have true/false question review area. take quiz , on results slide, see button labeled "review quiz". if click button, see table listing: your answer: b the correct answer is: of course, see here vary based on choices. if want turn off review area, click project > quiz manager... > quiz settings tab , de-select option labeled "allow user review quiz". cheers... rick More discussions in Quizzing/LMS adobe

How do I Create an Expanding Menu?

i need learn how create/generate vertical nav system where, upon clicking button, nav expands reveal subnav catagory. reference site beautiful mayakoba.com . is done through movies? actionscript? guidance or referral software or tutorial appreciated! shark2th wrote: > need learn how create/generate vertical nav system where, upon > clicking button, nav expands reveal subnav catagory. > reference site beautiful www.mayakoba.com. a bit slow taste , extremely common now, has been around almost decade :) > done through movies? actionscript? guidance or referral > software or tutorial appreciated! check: http://www.google.com.my/search?q=flash+hierarchical+menu&ie=utf-8&oe=utf-8&aq=t&rls=org.m ozilla:en-us:official&client=firefox-a "hierarchical menu" looking -- best regards urami -- beauty in eye of beer holder... <urami> if want mail me - not laugh @ address </urami> More discussions in Adobe Animate CC - ...

Interfacing with ADXL345 at 3200 hz

hello arduino community, i have duemilanove , i'm planing work on project requires vibration measurements. i looked @ different types of accelerometers, , adxl345 have high bandwidth (sampling rate), measuring vibration @ 1khz, therefore @ least 3khz sampling required. my question is, duemilanove capable of handling 3.2khz sampling time? know it's running @ 16mhz, capable of doing calculations @ same time reading input @ 3.2khz? if not, alternatives? thanks in advance. sorry posted in wrong section, please move hardware interfacing... Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Interfacing with ADXL345 at 3200 hz arduino

connecting to a remote mysql database with coldfusion

i've been developing website using dreamweaver 8, coldfusion, , mysql 5.0 on osx. site works on localhost, i'm ready move real host , cannot figure out how update dsn connect databases stored on shared hosting serer (godaddy.com). know disable rds. next step? have make new datasource through coldfusion (developers edition running on machine)? connection server work if rds disabled? i've created coldfusion dsn on godaddy.com control panel. know of tutorials on how move local testing server real server? thanks. More discussions in Dreamweaver support forum adobe

where to begin...?

hello, i creating new website act tourist information portal disabled people, providing information on 1000s of venues throughout country. problem ?i have know how create static websites , mean creating 1000s of html pages serve information have. have heard creating dynamic database sites have absolutely no idea or how begin. iwant create http://www.restaurant-guide.com whereby restaurants sumarised on search page , when click on it comes own entry. thhis loads of websites out there ebay example. any @ amazing, point me in right direction. thanks > @ amazing, point me in right direction. you need start learning databases , programming languages. php + mysql popular combo. i'd start there if starting scratch. -darrel More discussions in Dreamweaver support forum adobe

AW player automatic installation

does have (or know find) msi package aw player install? tx! sasa there isn't 1 published macromedia / adobe...just .exe installer. mark cognita wrote: > have (or know find) msi package aw player install? > > tx! > sasa > > -- ------------------------------------------------------ www.authorwarextras.co.uk eurotaac elearning 2007 www.eurotaac.com www.freelists.org/list/flashelearning authorware media synchronization command: www.authorwarextras.co.uk --> commands media synchronization made easy ! More discussions in Authorware adobe

Submenu op andere module positie laten verschijnen - Joomla! Forum - community, help and support

Image
als ik kijk naar de volgende site http://www.brinks.nl/ , dan zie je dat het hoofdmenu bovenaan staat (topmenu). klik je nu op de menu-optie 'activiteiten', dan verschijnt aan de linkerkant het submenu. mijn vraag kan dit ook in joomla!? kun je een submenu op een andere module positie laten verschijnen? vast wel, maar ik weet alleen niet hoe. dus mijn vraag aan jullie: kan iemand mij vertellen hoe dit werkt? alvast bedankt!  natuurlijk kan dat. je gaat naar modules --> site modules. dan klik je op de menu module welke je ergens wilt plaatsen. in de drop/down position selecteer je de positie waar je hem wil laten verschijnen. Board index Joomla! International Language Support International Zone Dutch Forum Algemene vragen

More output pins needed (combining shields)

don't know if best location pose question, move if needed. i working on project duemillanova. need attach ethernet shield (using pins 10-13) , lcd shield (using pins 4-9). leaves me pin 0-3. enough purposes, if not 0 , 1 hardwired tx/rx interferes. am stuck here or there solutions problem? this scheme shows apparent use of analog pins output, not see being supported in reference. btw: testing phase i'll drive leds pins, later on these (probably transistor driven) solid state releais. any hugely appreciated. the analog pins can used digital pins. analog pins, there referred pins 14 19 (analog pin 0 = digital pin 14). Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > More output pins needed (combining shields) arduino

puzzled by sizeof(string)

void setup() {    serial.begin(9600); } void loop() {  char cmcs[15]="8613800571500";  get(cmcs);  delay(2000); } void get(char cmcsd[]){ serial.println(sizeof(cmcsd)); } why result 2,but not 15 jerry, if trying find out how many characters there in string (from start nul terminator), should use strlen code: [select] void get(char cmcsd[]){ serial.println(strlen(cmcsd)); } sizeof not function.  it's calculated compiler when program compiled, , of course compiler can't know how many characters going put string. sizeof gives number of bytes taken thing inside parentheses.  you passed character pointer, uses 2 bytes of memory. if have array of fixed size in routine, sizeof can tell how many bytes whole array takes up, when use sizeof within routine.  this 1 of subtle differences between array , pointer.  for example code: [select] char my_string[25]; serial.println(sizeof(my_string)); will print out 25. -m...

Explain Video Playback Basics, Please! - Raspberry Pi Forums

hi - amazed how smart are! know simple, can't find helpful information anywhere. want play video variety of sources - dvds, broadcast television, home movies, , on. these sources produce video in variety of formats, want able process them in way compatible display job of processing offloaded external device , not dependent on display's horrible processing. how do this? can done software processing, or hardware processors better job? difference between decoders , renderers? can results component-type devices dvd player? also, sources of information cover issues ones have raised? thanks, steven raspberrypi

Convert a decimal number into a String?

hey there, i'm trying build basic counter test figuring out how interface multiple 7-segment leds. i've got basic setup running per tutorial on arduino site, , can send arbitrary character bytes both leds, , have created basic lookup table characters 0 9, , blank (all segments off). what i'm trying increment variable (the counter), , extrapolate appropriate bytes shift out based on individual numerals make counter decimal number. for example, if i'm trying write number "72" leds, i'd  be able convert number 72 string, grab digits one-by-one using kind of string operation, convert each single digit individually integer,  use integers assign appropriate byte lookup table, , repeat until of digits have been shifted shift registers. problem (and find super surprising), i'm discovering arduino has no convenient way either:  a) convert integer string, or b) grab substring of given string.   most of programming i've done has been using flash/act...

Power drops too much over TP1 and TP2 - Raspberry Pi Forums

from 2 pi's bought, 1 instable , destroys sd card time time. serial fn120836992 fn120836993 256mb made measurements , wonder if should return broken pi. had unpowered 2 days after having connected usb power hub gave more 5.25v (in search of power supply). compared between them using same short, fat usb cable (50cm), power supply hnp06 , sd card (sandisk 8gb type 4). raspberry #1 (the one) measure 4.94v on tp1 , tp2 measure 4.94v , 5.08v on both sides of fuse f3 black lead on earth shielding of micro-usb input connector. measure across of fuse f3 0.13v after 1 minute no power, measure f3 00.8 ohm raspberry #2 (the broken one) measure 4.63v on tp1 , tp2 measure 5.08v , 4.65v on both sides of fuse f3 black lead on earth shielding of micro-usb input connector. measure across of fuse f3 0.42v after 1 minute no power, measure f3 01.6 ohm (down 02.5 ohm 2 days ago) guess low voltage in #2 cause instability (it below 4.75v minimum). have waited several days see if fu...

Scrolling Text

i have published authorware .exe file on network. find on odd computer scroll bar on scrolling text field not work. know causes problem – more point have solution? never seen this. can more explicit in 'doesn't work'? what os? not i'd have better idea... the standard display icon text's 'scrolling' property checked? odd. erik the pc doctor wrote: > have published authorware .exe file on network. > find on odd computer scroll bar on scrolling text field > not work. know causes problem ? more point > have solution? > -- erik lord http://www.capemedia.net adobe community expert - authorware http://www.adobe.com/communities/experts/ ------------------------------------------------------------------------ http://www.awaretips.net - samples, tips, products, faqs, , links! *search a'ware newsgroup archives* http://groups.google.com/group/macromedia.authorware *the blankenship caveat: note direct linking http content through autho...

"Email a politician" form, with count of emails sent/target? - Joomla! Forum - community, help and support

hi all, does out there know of 'email politician' component? we have forms-to-email , can use this, ggreat show target number of emails required , count far. like http://www.getup.org.au/campaign.asp?campaign_id=9 or http://www.rightsatwork.com.au/campaigns/takeastand (which admittedly in flash). thx hi dex, what need isn't provided cms, rather email blast system or crm (constituent relationship management system).  there's great variety of products in us, 2 of recommend civicrm (a joomla component now, stand-alone crm, http://www.openngo.org ) , democracy in action ( http://www.democracyaction.org ). what trying do?  count?  want make easy people create multiple forms? -ryan Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Non-Profit Organizations and Joomla!

Apt-Get Error - Raspberry Pi Forums

whenever try related sudo apt get, weird error. here's example: pi@raspberrypi ~ $ sudo apt-get update e: syntax error /etc/apt/apt.conf.d/01autoremove:2: junk after value happens other apt-get command try. if knows how fix this, appreciated. thanks! i recommend reformatting sd card. first time created sd card wheezy gave me loads of issues. re-imaged card (formatted , used available tool write .img sd card). after worked perfectly. raspberrypi

Thread: firefox 3.6 will not play videos...

Image
i upgraded fire fox 3.6 using ppa repository: http://ppa.launchpad.net/ubuntu-mozi...ily/ppa/ubuntu installed fine , things work fine; if try open linked media file new window expect "done" without seemly attempt play media file. ideas? posted hardyn i upgraded fire fox 3.6 using ppa repository: http://ppa.launchpad.net/ubuntu-mozi...ily/ppa/ubuntu installed fine , things work fine; if try open linked media file new window expect "done" without seemly attempt play media file. ideas? have tried firefox 3.5 first or did installed 3.6 version directly? did worked in 3.5 version? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] firefox 3.6 will not play videos... Ubuntu

Table - Content Category - how this displays - Joomla! Forum - community, help and support

i have set several menu items link table contact categories, these don't seem display same way , i'm stumped have done make them different set them @ same time. for instance, 1 has list of items in category , links other categories in section, looks front page layout headline , blurb each item, of pages have pdf/print/email icons , don't eg: http://bigmedia.co.za/joomla/joburg_gui ... rtainment/ http://bigmedia.co.za/joomla/joburg_gui ... _heritage/ http://bigmedia.co.za/joomla/joburg_gui ... galleries/ i have looked @ settings , can't see difference between them. have tried set new menu item take on front-page-style layout , can't again. any ideas have done? in menu manager | menuname list of menu items should describe page type used on right side.  blog types give intro text , table types give simple list or content items.  when cick on them, each menu item has parameters can tweaked change displayed or not.  create 1 of each type can play various settings , dec...

Thread: Install KDE3.5 on Hardy

i have been running kubuntu hardy. use kshowmail checking , deleting email on server, without downloading it. kshowmail can installed on kubuntu hardy, uses kde3.5 desktop. presumably, kshowmail written kde3.5. found kshowmail not run on jaunty, uses kde4 - when trying access server (refresh) error message - "could not start process. unable create ioslave. klauncher said: unknown protocal 'pop3'." have installed ubuntu hardy, prefer gnome desktop. before else, installed updates., recommended not know if kde3.5-desktop there originally, kde4-desktop shows synaptic. no kde3.5.. installed kshowmail synaptic in hardy, same error message ioslave, kubuntu jaunty. correct in thinking kde 3.5 answer. if so, how install kde3.5-desktop? good. lot windyrij problem solved! on ubuntu hardy, need install kdebase-kio-plugins, version 4:3.5.10. discovered checking installed components on kubun...

Two loops/delay timers

hi, i'm trying figure way out have 2 separate timers going in arduino.  i have 9 outputs on sequence of on/off delays in loop.  i want have 10th output independent of on/off delay loop of first 9 while first 9 repeating loop, 10th output set own rhythm.  is possible or have second arduino? have @ blink without delay example in tutorials. (i'm thinking of making keyboard macro) Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Two loops/delay timers arduino

Trying to create and store an instance of a class

Image
hi all, i'm having trouble creating , storing instance of newsoftserial class inside own relay class. i'm experienced in java , php, haven't done lot in c++.  i think i've grasped pointers, there must quite fundamental i'm missing here? i have tried 2 methods, post code both... method 1: --- relay.h --- code: [select] #ifndef atmeganet_relay #define atmeganet_relay #include "wconstants.h" #include "module.h" #include <newsoftserial.h> class relay : public module{      public:            relay(int dpin_tx,int dpin_rx,int timeout);            void loop();            void poll();      private:            int _timeout;            newsoftserial _ss; }; #endif --- relay.cpp --- code: [select] #include "wprogram.h" #include "relay.h" #include ...

2 komponenter af samme slags? Ideer eller løsning søges! - Joomla! Forum - community, help and support

godmorgen, jeg bruger bookmarks komponenten til mine links, men ved også @ den kan bruges til meget andet, bla. til @ lave et flashspil, videoclip eller produkt dir. og den kan lige det jeg skal bruge den til, men det bliver noget rod, da alle disse kategorier som ikke vedr. links generelt jo dukker op submit bookmarks og nærmest vil betyde @ kategorilisten bookmarks bliver en km lang... spørgsmålet er så... kan man gøre nogen kategorier usynlige linkoversigten/submit frontend, uden @ de ikke bliver inaktive? eller er det muligt @ køre med 2 eller 3 af de samme komponenter på samme tid? Board index Joomla! International Language Support International Zone Danish Forum Ældre versioner (disse vedligeholdes ikke længere fra officiel side) Joomla 1.0 (Udgået version, der blev afløst af 1.5 i 2008) Komponenter, Moduler og Mambots

Thread: "No Such File" even though the file is clearly there

so first show file want in current directory code: randy@diablo:~/.juniper_networks/network_connect$ ls -l ncs* -rwxr-xr-x 1 root root 1167208 2009-03-11 08:40 ncsvc now verify program can interact it, , tell me it's type code: randy@diablo:~/.juniper_networks/network_connect$ file ncsvc ncsvc: elf 32-bit lsb executable, intel 80386, version 1 (sysv), dynamically linked (uses shared libs), gnu/linux 2.2.5, stripped now i'll take @ beginning of file's contents code: randy@diablo:~/.juniper_networks/network_connect$ xxd ncsvc | head 0000000: 7f45 4c46 0101 0100 0000 0000 0000 0000 .elf............ 0000010: 0200 0300 0100 0000 80d5 0408 3400 0000 ............4... 0000020: e0ca 1100 0000 0000 3400 2000 0800 2800 ........4. ...(. 0000030: 1d00 1c00 0600 0000 3400 0000 3480 0408 ........4...4... 0000040: 3480 0408 0001 0000 0001 0000 0500 0000 4............... 0000050: 0400 0000 0300 0000 3401 0000 3481 0408 ........4.....

Function will not change input

hi this code makes me insane: code: [select]  void loop()                     // run on , on again {    for(x=200; x>0; x--)  {  uddata(sqa, la0);  uddata(sqa, la1);  }    for(x=200; x>0; x--)  {  uddata(sqb, la1);  uddata(sqb, la2);  }    for(x=200; x>0; x--)  {  uddata(sqc, la2);  uddata(sqc, la3);  } }  void uddata (unsigned int data, int layer)  {  if(data>255)  {    shiftout(datapin, clockpin, lsbfirst, data);    shiftout(datapin, clockpin, lsbfirst, (data >> 8));    }  else  {    shiftout(datapin, clockpin, lsbfirst, 0);    shiftout(datapin, clockpin, lsbfirst, data);  }  digitalwrite(latchpin, high);  digitalwrite(layer, low);  delay(1);  digitalwrite(layer, high); }   when finished first loop shifting out 'sqa' doesn't throw away value of 'sqa'. instead of sending new value of 'sqb' uddata() still uses 'sqa' output. this gives me 3 for-loops same data-value different 'layer...

Thread: Help with Ubuntu Server 9.04

hi, - i'm total newbie subscribed vps service comes ubuntu server 9.04. totally unfamiliar cli , install gui on it. gui recommended , how install myself? - once gui installed, understand bring me terminal prompt. how gui running? - access gui via remote desktop. understand form of vnc has used. how install , configure vnc purpose? appreciate can provide clueless newbie. many a gui on linux server not recommend using 1 if need gui task try fluxbox .it light on resources.but don't have starting automatically , don't leave running that's recommend Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] Help with Ubuntu Server 9.04 Ubuntu

Persistence Of Vision (POV) software

this looks interesting.  can work?  it doesn't seem work me.  there no activity on pins 2.3.4.5.6 when checked oscilloscope.  how 1 troubleshoot code?  i new @ coding , learning. particularly don't understand line:  void printletter(int letter[]) does have other arduino pov projects? /* [ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533][ch65533] persistence of vision typography arduino michael zoellner - march 2006 http://i.document.m05.de connect anodes (+) of 5 leds digital ports of arduino board and put 20-50 ohm resistors cathode (-) ground. the letters lookup tables consisting arrays width dot status in y rows. ...