Posts

Showing posts from March, 2011

help noob with variables

trying build home security system 3 or more states(armed away, disarmed, armed stay).  code compiles without errors var "state" doesn't change when button on keypad pressed. any appreciated code: [select] #include <lcd4bit.h> lcd4bit lcd = lcd4bit(2); void setup() {  lcd.init();  lcd.commandwrite(0x0f); }   int state = 1; int keyvalue = 0; int password = 0; void loop() {  serial.begin(9600); //debuging purposes only  //=================================================================================================================================  //=====================================================================disarmed====================================================  //=================================================================================================================================  while(state == 0)  {    lcd.clear();    lcd.cursorto(1,4);    lcd.printin("disarmed");    delay(1000);    return...

VB6 C++ sending bits to Atmel328

hey! i have sent bits froma vb6 console application arduino atmel328 board, have compile processing code , upload atmel328 board every time or else not work. does know why? ive been told should detection api's in vb6... can me? -thanks whoa. up. start over. you not compile processing code upload arduino. quote but have compile processing code , upload atmel328 board every time or else not work it? pronoun referring to? arduino? code on arduino? processing application? vb application? c++ application? how know "it" not work? quote ive been told should detection api's in vb6... what trying detect? life on mars? water on moon? intelligent life in white house? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > VB6 C++ sending bits to Atmel328 ...

Frontpage Only - 3 Columns. - Joomla! Forum - community, help and support

hello, i'm having little difficulty getting 3rd column return.  sometime ago (when had mambo) had following layout: left menu |  main area |  right menu i upgraded joomla , settled following layout: left menu | main area its been quite sometime since had right column.  my understanding bring need add more colums (via mainmenu > frontpage (button it) > columns #. i have looked columns , reason set "1"(even though have 2 columns really?) so have changed value few times , doesnt seem effect frontpage @ all. could possibly explain me how bring right column back?  or point me guide doing this? thank you. p.s. i have attached screenshot of have set @ moment. anyone? Board index Joomla! Older Version Support Joomla! 1.0 Templates & CSS - 1.0.x

Thread: Sound Problem with Laptop

i have installed ubuntu 9.04 cannot hear sound. same problem there ubuntu 8.04 8.10 hardware. tried follow tutorials given in forum none helped. hardware information after lspci : 00:00.0 host bridge: intel corporation mobile 945gm/pm/gms, 943/940gml , 945gt express memory controller hub (rev 03) 00:02.0 vga compatible controller: intel corporation mobile 945gm/gms, 943/940gml express integrated graphics controller (rev 03) 00:02.1 display controller: intel corporation mobile 945gm/gms/gme, 943/940gml express integrated graphics controller (rev 03) 00:1b.0 audio device: intel corporation 82801g (ich7 family) high definition audio controller (rev 02) , vendor id , device id: 00:00.0 0600: 8086:27a0 (rev 03) please help!! Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Sound Problem with Laptop Ubuntu

MySQL: Writing trigger that uses custom function - Raspberry Pi Forums

i teaching myself mysql writing database craft business run, hosted on pi. trying write mysql trigger that, upon update of row, call custom function (which works fine outside of trigger) , update column in table trigger on. code: select all begin update candles set can_materials_cost = (select calculatematerialcost(new.can_id) candles.can_id = new.can_id); end i've written basic audit style triggers upon update save old value different table, reason when trying use custom function receive error stating: have error in sql syntax; check manual corresponds mysql server version right syntax use near 'where candles.can_id = new.can_id); end' @ line 4 custom function performs: code: select all begin -- function assumes raw wax cost 20kg bags - beware! declare result decimal(10,2); set result = ( (select calculatewaxcost(_can_id)) + (select calculatedyecost(_can_id)) + (select calculatescentcost(_can_id))); return result; end please can shed light on i...

Killer code?

i have been coding animations arduino powered led cube , seem have come across bit of code killed diecimila. code: [select] long random; ////////////////0 1 2 3 4 5 6 7 8  9  10 11 //int pins[] = {2,3,4,5,6,7,8,9,10,11,12,13}; int pins[] = {2,6,10,3,7,13,4,8,12,5,9,11}; int time = 10; int time2 = 250; int time3 = 0; int time4 = 100; void setup() {  pinmode(pins[0], output); //2 g    pinmode(pins[1], output); //3 3  pinmode(pins[2], output); //4 6  pinmode(pins[3], output); //5 9  pinmode(pins[4], output); //6 g  pinmode(pins[5], output); //7 2  pinmode(pins[6], output); //8 5  pinmode(pins[7], output); //9 8  pinmode(pins[8], output); //10 g  pinmode(pins[9], output); //11 1    pinmode(pins[10], output); //12 4  pinmode(pins[11], output); //13 7    //serial.begin(9600); } void loop() { //start moving walls digitalwrite(pins[0], low); digitalwrite(pins[1], high); digitalwrite...

Rubbish read speeds - Raspberry Pi Forums

to start yes know raspberry pi never going brilliant transfer speeds because of usb limitations know that, have pi set wireless nas drive using samba, usb dongle , usb hardrive through powered usb hub, heard of people getting read speeds of upto 3mb fine me @ moment getting speeds of 1mb dropping below means getting buffering issues higher quailty video's, wondering if had idea's on why transfer speed bad? wireless signal fine way. in advance if "ifconfig wlan0" error count above 0?? there lots of things affect performance of wifi i.e. interference electrical equipment or other wifi networks. if pi old rev board usb polyfuses dongle may not getting sufficient power operate correctly (check voltage @ tp1 / tp2), richard s. raspberrypi

JoomlaNews.de auf dem Pocket PC - Joomla! Forum - community, help and support

hallo joomla gemeinde wer joomlanews.de immer und überall offline zum lesen, zeigen etc. dabei haben möchte kann dies mit seinem pocket pc sehr einfach einrichten, vorausgesetzt ein avantgo-zugang. einfach http://www.joomlanews.de/index2.php?opt ... &no_html=1 als neuen rss-feed in den channels eintragen und pocket pc syncronisieren. schon sind alles news über joomla offline ohne internet und netzzugang lesbar zb. wenn man mit der u-bahn  in die arbeit fährt (sehe ich selbst auch immer öffters). viel spass und grüße triton Board index Joomla! International Language Support International Zone German Forum Sonstiges (Offtopic)

XTDratings - turning off voting and required email address - Joomla! Forum - community, help and support

Image
hi there. xtd ratings, turn off requirement email addresses , ratings - want commenting. i've fooled around bit form templates, turning off fields seems break things, , can't seem @ form layout move fields around either. as well, i'm using joomlaboard on site, , xtd ratings indicates can't find simpleboard config file when comment posted - @ config end of things seems able find joomlaboard select categories - suggestions? thanks! chris hutcheson the categories stored in database , haven't changes names of our tables, that's why still finds categories. component in question need updated support joomlaboard, can yourself... replace occurences of simpleboard joomlaboard, should trick (i hope ) Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Can not get to OS desktop - Raspberry Pi Forums

hi all, setup wheezy image on sd card using image site , tool here burn it. when connect pi tv via hdmi starts run, there lots of script , login screen. login username , password , accepts them , gives me command prompt again , doesnt boot in os confused, help??? sudo raspi-config should give screen setup options. 1 of them how should start (command line interface or graphical interface) startx command should start graphical environment command line. didn't accidently installed arch linux? believe comes without graphical environment. uname -a might tell more kernel have installed. raspberrypi

Crear Areas Especificas - Joomla! Forum - community, help and support

Image
hola todos quisiera saber como crear areas especificas para ciertos usuarios ejemplo area de maestros: 1.- que tenga un diseño distinto 2.- que tenga un menu distinto 3.- poder publicar notas area de un grupo de alumnos: 1.- diseño distinto 2.- que solo ciertos alumnos entren por ejemplo 5 semestre de ing. sistemas computaciones 3.- no puedan modificar nada del area solo tengan acceso leer espero puedan ayudarme un gran saludo. fmoo.  mi amigo.. tu solucion estan en los usuarios.. asignar grupos de usuarios.. y hablitar los contenidos por grupos de usuarios y los diseños.. facil.. aplicar un template x defaul.. y asignar otro/s las distintas areas.. saludos desde salta la linda Board index Joomla! International Language Support International Zone Spanish Forum Extensiones

Array question

ok, simple programmers (which i'm not):  can create array of values , @ same time define initial value @ 0? for example have 6 different sensor values, , have them initial value of 0, like: int sensor [6]={1,2,3,4,5,6} in sensor=0 or cancel each other out? create experimental sketch, containing code in question, , try compiling see happens! Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Array question arduino

Thread: Save game in VBA?

how save game while playing in vba express? theres no option save can see. plying pokemon emerald. do mean make save state? if so, question, may 1 of capture shortcuts. theres two, 1 must me screen shots... or maybe both, ill have try it. can't emerald work... must have bad rom, comes white screen.. Forum The Ubuntu Forum Community Ubuntu Specialised Support Gaming & Leisure Save game in VBA? Ubuntu

My PID Line follwing code. What do you think :)

Image
[size=12]working on line follower robotics competition. thought share have working. needs work it's working pretty far. input great. -sam [/size] [size=10]/* * enr-259 */ //******************************************************************** // variables variables variables variables variables variables variabl //******************************************************************** const int right_motor = 11; const int left_motor = 10; long sensors[] = {0, 0, 0, 0, 0}; long sensors_average = 0; int sensors_sum = 0; int position = 0; int proportional = 0; long integral = 0; int derivative = 0; int last_proportional = 0; int control_value = 0; int max_difference = 80; float kp = .05; float ki = .000001; float kd = 1.105; //******************************************************************** // setup function setup function setup function setup function setup f //******************************************************************** void setup() { } //*********...

help with arrays and procedures

i'm trying write procedure reads value array, , depending on value things. follows code: [select] // arduino output pins #define shdn 51 #define cs 49 #define clock  45 #define datain  43 #define dataout 47 #define chn1 48 #define chn2 44 #define chn3 46 #define chn4 50 // 2us of clock period ( sample rate = 30.3 khz) #define half_clock_period 1 uint8_t j=0; void setup() {  pinmode(datain, output);  pinmode(dataout, input);  pinmode(clock, output);  pinmode(cs, output);  pinmode(shdn, output);  digitalwrite (datain, low);  digitalwrite (clock, low);  digitalwrite (cs, low);  digitalwrite (shdn, low);   serial.begin(9600);   int address[8]={0,0,0,0,0,0,0,1}; } void writevalue( int address[8], uint8_t value){  digitalwrite (cs, low);  digitalwrite (shdn, high);  digitalwrite (clock, low);  //send 8 bit address array for(int i=7; i>=0;i--){   ...

IF and If Help ranges

hi, simple question: how create if ranges? eg: code: [select] if (something >1 && <10){ //do here } its wrong , have tried many combinations right. thanks in advance code: [select] if ( (something > 1) && (something < 10) ){ //do here } Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > IF and If Help ranges arduino

Won't accept my serial number

i have bought fireworks cs3 upgrade – , downloaded it. when try install it, won't accept fireworks 8 serial number. why can be? was version of fireworks 8 standalone version or part of bundle? i had same issue in bought mac version of fireworks cs3 upgrade thinking it'd upgrade version of fireworks mx 2004 part of mx 2004 studio bundle. wrong. serial number didn't work. i got in touch adobe support asked me if i'd read eligible versions upgrade info on web site. of course had , says nothing whatsoever not being able upgrade version of fireworks in bundled suite. admitted badly written , should have line or 2 explaining bundled versions cannot upgraded. to cut chase wasn't eligible upgrade , had return box adobe refunded for. unfortunately had purchase full version of fireworks cs3 now, @ £300, after postage, doesn't deal anymore. in short, you're not eligible upgrade if version of fireworks was part of previous bundle macromedia. if have got standalone...

Thread: No internet connection on wired LAN

first of all, have wired lan, not wireless. main computer (comp1) connected internet via cable modem, got connection working. comp1 has 2 nics, 1 connected cable modem, , other 1 connected via crossover comp2. had been able (finally) share internet windoze know cable/connections good. have ditched win, , running ubuntu 9.04 on both comps, having trouble getting internet connection on comp2. have tried edit connection mannually, no avail. doesnt little under-educated when comes nitty-gritty of technical underpinnings. still quite new shell well, have natural commonsense ability follow along info/advice. appreciated! not expert on wired connections, since it's summer , regular helpers appear on holidays, here's idea started. run route on terminal of both boxes , check routings correct. you'll want comp2 have default route has comp1's second nic ip gateway , comp1's nic's bridge traffi...

Playing a .WAV file from a C / C++ program - Raspberry Pi Forums

i want write simple door bell program play .wav file through pi stereo audio jack when couple of gpio pins shorted together. think i've seen information need gpio bit, what's best way play .wav or other sound file ? (i don't mind if control returns c code when playing of .wav file starts or when ends, , don't mind if output multiple instances of whatever plays .wav file can heard @ once - indeed might rather fun.) thanks, j/. i did similar mp3 files , user mpg123 decoding , libao playing resulting wav. guess if want play wav need libao. libao: http://www.xiph.org/ao/doc/ mpg123: http://www.mpg123.de/api/ problem haven't solved yet when playing sound through stereo audio port there sharp , loud click when closing audio device, or when re-opening device second time during same program execution. luck. steven. raspberrypi

Thread: nVidia driver help.

i installed ubuntu 9.04 or ever newest version of ubuntu is. having trouble understanding how nvidia driver install. have read directions given on nvidia's driver install page linux dont make sense me. haven't tried using dvd burner yet not sure if need driver either... appreciated. go system>administration>hardware driver , enable driver, after done, restart. don't need drivers dvd burner, use brasero installed burn dvds. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] nVidia driver help. Ubuntu

Dissertation Help

hello, im working on 4 stage dc chopper circuit, im using arduino pwm functions finding hard locate info on frequency. can me or point me in right direction setting 2 pins outputting 5khz pwm of 50%, make pwm variable in end . thank in advance james http://www.google.com/search?q=arduino+pwm+frequency&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-us:official&client=firefox 29,000 hits. dissertation, huh? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Dissertation Help arduino

Help for a newbee - Joomla! Forum - community, help and support

hi i need , i'm sure can me ! i installed joomla , started migrate old site it. how should able implement following code joomla site ? 1) scripts 2) form method eur euro sek sweden kronor eur euro sek sweden kronor usd united states dollars   3) iframe i hope it's possible in joomla !!! please !!!! kind regards mike hehe i helped self :-) i needed turn off wysiwyg editor :-) Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

I'm a noob.. storing a font in arduino

i can't believe got far fast... i got few of these cheap displays... , using theory based @ link, able control it.. (on first freaking try even) http://www.robotroom.com/multisegmentleddisplay.html so issue, top 7 items 14 segment displays. hand calculated , googled find: http://www.ee.ualberta.ca/~elliott/ee552/studentappnotes/2001_w/interfacing/alphanumeric_led/ that has characters need. question is, how store in arduino code? i've searched around trying find code saves font on chip.. haven't found much... i'm more of perl/php/ruby guy.. how 1 make proper hash in c? many thanks... here fragment hope started. off top of head , needs work trust going in right direction #define nbr_segments 14    // each array element has bit indicating state of 14 segments unsigned int letters[] = {0b11101100100010,0b00111100000000,... };  // fonts 'a' 'z' unsigned int numbers[] = {0b11111100010001,... };   //numbers 0 9 void showletters(...

The flexibility and bending parts of the cases. - Raspberry Pi Forums

Image
now i'm developing new models of cases. using new techniques facilitate mounting assembly , provide way new designs. in example lines makes acrylic more flexible , can bend. in plywood here leave video of how assembly process. http://youtu.be/vcq91jltura sell on amazon, ebay , ponoko sites. i purchased digital piface card. i've made ​​a new case design accommodate raspberry pi , pi face. raspberry pi face box piface_box11.jpg (57.15 kib) viewed 1360 times i've had add wooden buttons operate outside box unopened. raspiface box piface_box9.jpg (51.86 kib) viewed 1360 times raspi face case piface_box7.jpg (52.81 kib) viewed 1360 times in few days available sale on amazon , ebay.. raspberrypi

referencing variable: component parameter panel

here sample fla.... http://swsidev.tafensw.edu.au/electricaltrades/sampleforposting.fla (file size 48 k) i have posted couple of times, fla someone work out answer me...if appreciate heaps. i average programmer little piece of code works...... a=0; //these variables , b set other components on the fly. b=0; booleancondition=a||b; //set boolean statement trace (booleancondition); //trace shows either 0 or 1 if (booleancondition==1){ trace("condition true") } if (booleancondition==0){ trace("condition false") } now....what want instead of explicity stating boolean equation in script, able enter (for convenience) the boolean via varable called "booleancondition" defined in parameters panel component. thought easy, have not been successful after many hours. eg a=0; //these variables , b set other components on the fly. b=0; trace (booleancondition); //the output panel shows a||b whereas before contained 0 or 1 ....mmmm. if (booleancondition==...

Flash navigation and frames / iframes page

for past few months i've been trying have flash file open html page or php page in either framepage or iframe. in past i've had no problems this. i've done several times before without errors. somwhere along launch of internet explorer 7 , or flash pro 8. i've not had such luck. if @ following site: http://www.teamafp.com you notice flash menu system works fine. flash buttons opens correct pages in correct windows. site made few years ago , development of ie7 , firefox still functions way should. now when making new site using exact same code , exact same html / php code (for frames / iframes) not work i've mad quick example of located @ url: http://67.59.38.170/flashiframe/window.html any 1 can figure out why appriciated!!!! try "bottom" More discussions in ActionScript 1 and 2 adobe

Black screen after creating then destroying a surface - Raspberry Pi Forums

i'm working on emulator front-end displays gui , launches selected programs. reason, programs (i've been testing scummvm), gives black screen (when launched command line). here's short sample program shows problem scummvm (tested 192/64mb memory split on raspbian): https://dl.dropbox.com/u/2816162/gles_tests.zip example creates sdl window (originally used input in front-end), creates egl rendering surface, destroys surface, quits sdl, launches scummvm. i've tested several variations work fine: 1. system("scummvm"); call. 2. bcm_host_init(); system("scummvm"); bcm_host_deinit(); 3. create sdl window, close it, launch scummvm. you'll need sdl , scummvm installed run in addition normal raspberry pi libraries (bcm_host, gles, egl) should able sudo apt-get install sdl1.2-dev scummvm. build make. when black screen, press ctrl-q close scummvm. of renderer code cobbled examples, i'm thinking might missing deinitialization code somewhere...

Coding Question: Making a ShiftIn

Image
hey folks. how go coding a"shiftin" function? have "clock in" , "data in", , want print results serial port. thanks in advance!   well, didn't around heres 1 wrote project of mine. int shiftin() {  int cwt;  cwt=0;  bitmask=128;  while (bitmask >= 1) {    digitalwrite(shtclk, high);    cwt = cwt + bitmask * digitalread(shtdata);    digitalwrite(shtclk, low);    bitmask=bitmask/2;  }  return(cwt); } that msb first, other end changes data on rising edge of clock. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Coding Question: Making a ShiftIn arduino

Is there a way to save data inputed into Arduino?

i have barometer hooked , running. issue having every time turn on or hit reset need recalibrate it. there way save data onto board after reset or turn on runs program , grabs saved data well? i'm using duemilanove board , data need save in form of double. any appreciated, it's class project. thanks. eeprom... http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1234477290/3#3 Arduino Forum > Forum 2005-2010 (read only) > Software > Development > Is there a way to save data inputed into Arduino? arduino

How To Install CF 7.02 on Windows 2003 Web Edition

hi, i'm sure has posted how to, doing quick search here , on google couldn't find wanted share process had go through. the main reason post let folks know not use cf 7.02 windows installer found on adobe's site. in case installer installs way through tells completed errors. error being couldn't configure iis cf , run "wsconfig" utility manaully. doing doesn't work since actual cf application server service can't , wouldn't start. did quick searching here , on net couldn't find info regarding this, tried re-install 2 times same problems. in end how got cf mx 7.02 install without errors , work on windows 2003 web edition 1) installed windows 2003 web edtiion , applied high priority , driver updates system date. 2) install original cf mx 7.0 cd 3) made sure iis, test cf page along admin pages accessed server , remote computers 4) installed cf mx 7.01 updater 5) made sure iis, test cf page along admin pages accessed server , remote computers 6...

RISC OS freezing after it gets to desktop - Raspberry Pi Forums

Image
hi there, risc os. ah, sheer joy of being able return halcyon days of youth... how remember hours spent in school lab programming in bbc basic on model , b, or @ home on spectrum, ql, amstrad et al. never did manage archimedes, followed closely in computing press. fitting therefore risc os should first os booted on new pi. alas, not plain sailing... mentioned, i've received 512mb pi. before powering on, downloaded , installed official ris os image raspberrypi.org downloads page, , transferred scuccessfully 4gb ssd (via os x terminal command line). popped pibow case measure far good. booting risc os seems fine. no keyboard found error have read elsewhere on these forums legacy of not finding ps/2 keyboard. bootup finishes fine , end on desktop. able move mouse about 10 seconds , freezes indefinitely. desktop image stays solid, no input seems recognised. have thoughts? setup rasppi 512 mb 4gb no-brand old ssd. possibly issue? micrsoft usb wheel mouse (not sure vers...

Recommendations for C/C++

a big hello arduino community. couple of q's i'm sure can with: 1) arduino software c or c++ or hybrid c/c++ ? 2) comprehensive book on whichever c language used in arduino me learn code arduino properly. suggest best book ... ? (e.g. perhaps "c dummies"  would start, comprehensive enough ?) thanks ... it's c++, without "new" or "delete". any book on embedded c/c++, i've yet come across one. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Recommendations for C/C++ arduino

GPS Help

i'm working on gps program takes current location , compares destination location , returns distance in miles if it's more 1 mile , feet if it's less mile.  the program works fine till less 4,000 feet destination.  at point returns i'm @ destination.  i'm using tinygps , using f_get_position command works fine.  just reason when difference between 2 numbers small enough program rounds 0. i'm not concerned being extremely accurate distance  (just enough know you're getting closer destination) i'm using simple pathagoren theorem figure distance.   all variables declared float , destlat , destlon random point within mile of current location testing. what need able can find distance when i'm within 20ft code: [select]  while (nss.available())  {    int c = nss.read();    if (gps.encode(c))    {      gps.f_get_position(&lat, &lon);              //calculates distance between 2 points      if (destlat > lat)      {        de...

RS Online the worst customer service - Raspberry Pi Forums

hello, not sure if correct place or not. ordered raspberry pi in june them. in september canceled order after ordering element14 , arriving 3 days later. informed email refund in in 14 days. 15th of november , have not received refund yet. have emailed several times , stayed until 2am call them twice on uk line no avail. advice others stay away rs online. in process of consulting consumer affairs in uk resolve this. have horrible customer service , never use them again. i going have agree you. ordered rpi rs in june , haven't heard them since. noticed other day can order rev 2 of rpi element 14 , have in 4 days. e-mailed cancel order. responded "we need confirm want cancel order" responded "yes please cancel order" few days later received e-mail them. "dear raspberry pi customer, thank continued patience in waiting raspberry pi order. way of thank you, we’re pleased let know order 256mb raspberry pi model b board upgraded 512mb revision 2 ...

PWM fifo,bus flag error - Raspberry Pi Forums

hello everybody, i'm trying configure gpio18 pwm0 output. did following configurations highlight: code: select all gpf_sel1_v = 0x2000000; //set gpio18 alt5 -> pwm pwm_ctl_v = pwm0_enable | pwm0_ms_mode; pwm_rng1_v = 0x400; pwm_dat1_v = 0x300; //duty cycle of 75% more code: code: select all //definities van de registers #define gpf_sel1 0x20200004 #define gpf_sel1_v (*(volatile unsigned long *)gpfsel1) #define pwm_ctl 0x2020c000 #define pwm_ctl_v (*(volatile unsigned long *)pwmctl) #define pwm_sta 0x2020c004 #define pwm_sta_v (*(volatile unsigned long *)pwmsta) #define pwm_rng1 0x2020c010 #define pwm_rng1_v (*(volatile unsigned long *)pwmrng1) #define pwm_dat1 0x2020c014 #define pwm_dat1_v (*(volatile unsigned long *)pwmdat1) #define pwmclk_cntl 40 #define pwmclk_div 41 #define pwm0_ms_mode 0x0080 // run in ms mode #define pwm0_usefifo 0x0020 // data fifo #define pwm0_revpolar 0x0...

stretching image to size of browser using BitmapData class and dawing api

ive been working great tutorial found @ http://www.gotoandlearn.com/download.php on creating full browser flash. uses bitmapdata class , drawing api attach image stage , have image tile when browser window resized. problem want image stretch fit browser window instead of tile. i've looked alternatives on attaching image movieclip , having mc resize, thats no since i'm using drawing api draw other elements on background. movieclip covers other elements. any ideas? import flash.display.bitmapdata; var bgimage:bitmapdata = bitmapdata.loadbitmap("bgimage"); function fillbg() { this.beginbitmapfill(bgimage); this.moveto (0,0); this.lineto (stage.width,0); this.lineto (stage.width, stage.height); this.lineto (0, stage.height); this.lineto (0,0); this.endfill (); } fillbg(); var stagelisten:object = new object(); stagelisten.onresize = function() { fillbg(); } stage.addlistener(stagelisten); is background want scale or in flash want scale? More discuss...

Thread: connecting to wifi after several attempts problem

hello have strange issue. when start laptop wifi card connects network 1 on 10 times. when disconnect wifi, have same problem connecting it. must keep trying connect, , after several times connecting should. on same laptop have installed vista, there works perfectly. connects @ first attempt. have broadcom based wifi card , dlink 524 wifi router. greatfull ideas. issue solved changed encryption in router 'wpa2-psk(aes)' 'wpa-psk/wpa2-psk' Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] connecting to wifi after several attempts problem Ubuntu

float data precision and fat16 lib

when trying write value of float variables sd card using write function of fat16 lib, precision of float values reason limited 2 digits. does know how possible write float values 7 digits precision using fat16 lib. thanks help. as string, instead? code: [select] float somevalue = 0.002; char stringvalue[12]; sprintf(stringvalue, "%.7f", somevalue); then, write stringvalue sd card, instead of somevalue; Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > float data precision and fat16 lib arduino

Serial rx/tx port setting

hi all, is there way change rx , tx ports used hardwareserial? effectively, have dte devices need talk each other - don't have null modem handy. figure if can arduino reverse these 2 pins (rx on 0, tx on 1), won't need it. one option use softwareserial, in can allocate ports, i'd use built-in usart if possible.. is possible? you can hook rx 1 side tx on other. devices need link , sort of ends have? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Serial rx/tx port setting arduino

Community Builder - Joomla! Forum - community, help and support

Image
nu prøver vi den anden vej  er der nogen som vil vise deres site frem hvor der er brugt community builder. jeg vil gerne se lidt nærmere om hvordan det er brugt og hvad man egentligt kan inden jeg kaster mig ud det pÃ¥ min egen side. alt den snak om cb og sÃ¥ er der slet ingen som har taget det brug?  Board index Joomla! International Language Support International Zone Danish Forum Vis dit websted

Kan inte stänga av tinymce!! - Joomla! Forum - community, help and support

Image
hej! jag har försökt att stänga av tinymce genom att ändra till no wysiwyg global configuration. men även om jag sparar och configurationen visar att no wysiwyg är vald, så startas ändå tinymce när jag försöker lägga till nytt innehåll. jag har försökt att göra tinymce unpublished, men resultatet blir ändå det samma. rättigheterna på samtliga filer som tillhör editorerna är ställda till 777. anledningen till att jag vill stänga av tinymce är att jag vill lägga in javascript på en contentsida. jag kan inte hitta någon lösning på problemet, finns det någon som kan hjälpa mig? men tinymce är kanske förvalt dina användarinställningar? det är där du bör ändra, istället för de globala inställningarna. dessutom bör du ju se till att texteditorn är publicerad på mambot-sidan. om allt detta är riktigt så borde du ju (tillfälligt) kunna ta bort publiceringen på tinemce. då lär du slippa den. Board index Joomla! International Language Support Int...

[AS] url:String

hola amigos, no encuentro la manera de hacer la pregunta, ver si me explico: tengo 12 paginas html correspondientes cada mes, siendo 0=enero, son llamadas 0page.html, 1page.html, 2page.html.... etc ¿como hago para armar en geturl la string con la variable + el resto del nombre de la pagina >>> geturl(mes+page.html)? no se como van las comillas. la idea es hacer que segun el mes en curso (lo leeria de la maquina del usuario con getmonth) se abra la pagina correspondiente... pueden ayudarme??? mil gracias!!! jº joe vega escribió: > hola amigos, no encuentro la manera de hacer la pregunta, ver si me > explico: > > tengo 12 paginas html correspondientes cada mes, siendo 0=enero, son > llamadas 0page.html, 1page.html, 2page.html.... etc > > ¿como hago para armar en geturl la string con la variable + el resto del > nombre de la pagina >>> geturl(mes+page.html)? no se como van las comillas. > > la idea...

Artist / Painter Site with flash - Joomla! Forum - community, help and support

Image
http://acrogeberg.no joomla! site , gallery norwegian artist / painter, flash , gallery2-bridge, quite close being completed ( hope ). the design make use of work of artist. feel got lost in layers of photoshop somewhere, , ended quite heavy graphical - in order balance out artwork used in header guess. yes, music drives me crazy well, artist wants it, do    any suggestions improvements welcome indeed! creative tips on how around flash music loop/on/off/reload nightmare without using frames save day i think looks great!!. music well.  unfortunately not read language in, looks fabulous. i not change thing. on you. theperthgirls Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed 1.0 x Site Showcase - Archived.

Thread: The Best USB to PS/2 Converter for Linux?

Image
i've been searching online highest quality (and preferably least expensive) usb ps/2 converter cable forthcoming system 76 laptop. has here purchased these types of cables, and, if so, reliable cable use in linux? i have never used cables, short adapters. have never had problem usb / ps2 adapter have used. frequent use old computers lacking usb ports or usb port broken. sad hard find usb mouse these days. other use have using wireless mouse / keyboard kvm. older kvm not have usb port use usb wireless keyboard / mouse w/ splitter connect kvm switch. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] The Best USB to PS/2 Converter for Linux? Ubuntu

Farnell no longer ships to France - Raspberry Pi Forums

hi, while bought 2 raspberry pi computers fr.farnell.com, no longer ship france. first changed order page french english , blocked altogether, http://farnell.com/raspberrypi-consumer ... ailers.php says: "france - coming soon" several people here order raspberry pi, cannot via farnell. regards, will p.s. farnell export , our cern contact farnell have been emailed try fix quickly. hi, cern farnell rep. replied problem should fixed @ end of week. regards, will raspberrypi

MAC OS X c++ question

hey guys , girls i'm tring send simple "h" arudino board via c++ project i'm working on.  i'm using serial read example file sending "h" turns on pin 13 moment , turns off.  here code far.  my problem keep returning -1 , never opens connection board.  i using same port call in z-term , arduino though , responding great.   :exclamation :exclamation :exclamationmy code wrong know.  if ahs had success doing on mac please let me know.   code: [select] #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <termios.h> #include <sys/ioctl.h> #include <stdlib.h> #include <syslog.h> #include <signal.h> #include <corefoundation/corefoundation.h> #include <systemconfiguration/systemconfiguration.h> #include <iokit/iokitlib.h> #include <iokit/pwr_mgt/iopmlib.h> #include <iokit/ps/iopskeys.h> #include <iokit/ps/iop...