Posts

Showing posts from May, 2012

Font Size in CS3 Different than DW8

hi, updated dw8 dwcs3 , while text in documents using fixed px size looks great when viewing in new dwcs3 text had css on contained size em looks tinnnny!!! looks tiny in dwcs3 looks fine in browser is there way fix this? stay fluid em text size if possible, can't design tiny text hurt eyes! thanks! leslie i installed cs3 (upgrade mx2004) , found renders css more accurately. finds mistakes better, ones didn't show online. More discussions in Dreamweaver support forum adobe

Newb project - 'Autocom' homebrew

Image
hi all, this first project using arduino , rather excited. i working way through literature/posts/pages work out how this, though i'd see if else has done similar or has suggestions... i have motorbike , use both radio , iphone helmet mic/speaker kit. basically, need allow me switch between 2 devices, , use ptt button have helmet kit either 'answer/hangup phone' button, or ptt button radio. to make things little more exciting, i'd program when in 'radio mode', can press button once 'lock on', or press , hold lock on until buttong released. i have 1 x uno, , bought cheeky lcd screen might intergrate in way, more of impulse buy else anyway, ideas might me on way arduino glory appreciated, if not, please take official 'hello!' arduino community. big in advance! b i have 1 suggestion. don't. there reasons why hand-held cell phone illegal in many states. laws addressing symptom, not problem. problem talking on phone ...

Something's gotta be wrong... - Joomla! Forum - community, help and support

Image
i have big problem , hope me solve it. http://fm.kis.lt site, , problem is, when site in english everything's working fine, if change lithuanian, first page looks fine. if press login button without entering anything, shows error "wrong user name or password", in lithuanian language , without special lithuanian characters. problem can't work characters in error messages. hi madboy, from can gather browser source of site -- using utf-8 encoding while joomla 1.0.x not support utf-8. come version 1.1. i suggest following remedy: - make sure running on clean install of joomla 1.0.4 (not earlier version of 1.1) - change encoding site in _iso setting of language file appropriate single-byte encoding lithuanian. - if manually built database or modified database or table encoding utf-8  -- should migrate new database without utf-8 encoding (the default latin1 ok). if did not touch database - can disregard item. - content in database may have been saved in utf-8 form (even ...

Thread: Help getting the power botton back

dear sir or madam, need getting little red power button @ top right hand side of screen back. disappeared. tried adding panel however, button not same 1 @ top right. it's bigger , when press it, window options open. need smaller red square power button on date/time has pop menu switch guest etc when click it. please. best regards, alneil you need user switcher? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Help getting the power botton back Ubuntu

Photoswitch

hello everyone, new forms.. bought arduino duemilanove act ligh or photoswitch. bought mini photocell.  i need writting program. can me? needs: when light present no output when dark full output. needs checking @ least once every minute. this got far. const int sensorpin=0;   // input photocell const int ledpin=13; ///pin led const int threshold=1022;  //value of sensor const int stop=0;        //make never ending void setup() {  //delcare ledpin output  //initialize serial communication  pinmode(ledpin, output);  serial.begin(9600); } //void why(){  //while(stop==0){loop();} //} void loop() { int sensorvalue = analogread(sensorpin); if (sensorvalue>threshold){analogwrite(ledpin , sensorvalue);}   else { analogwrite(ledpin,0); } // print analog value: // serial.println(sensorvalue, dec); } code: [select] const int thr...

Contribute connectivity

i've uploaded site client's sftp address. can see there in remote view. when try set contibute in site definition panel i'm getting following "dreamweaver not find page @ specified site root url. please check site root url". site root url same in both. (original dw settings , contribute settings in site definition panel.) haven't had problem before , don't know turn. i having same problem. have tried 3 different servers. there technotes on contribute forum ie 7 cause issues contribute don't tknow related. see server's ftp clients not work program. More discussions in Dreamweaver support forum adobe

Game Programming Questions - Raspberry Pi Forums

hey guys, i've ordered raspberry pi, , have few questions after reading around on forums bit. i'd love if address few: (my background year , half of c++ , few personal projects i've coded myself.) 1. saw on thread qt (a nokia c++ gui framework) reason programs use png's transparent backgrounds won't run. furthermore, there's small limit how many images app can have loaded @ given time. there truth @ all? seems pretty crippling thing game programmer. 2. raspberry pi version of linux similar enough standard linux use c graphics api programmed linux (like allegro game library) on it? if not, there provided c/c++ graphics api work write games on own? 3. read on engadget revision 2 has graphical capability of original xbox. later, read on forum post there's psx emulator pi, never found other information or proof such thing exists. of true? i've seen old version of opengl supported, i'm not quite sure understand capabilities of thing. gives read. k...

someone help please!! :(

sucks when after 5 hours of work export avi sound missing. hello all, i'm looking importing .avi files in flashmx. issue is: (before) i able import (embed) .avi , sound still present in exported .avi (the finished product if will) (now) when go control>play there no audio plays video...(enable live preview checked) (this functionality was working before. furthermore, audio no longer present in exported .avi files, when there should mp3 layer present) control>test movie works fine sound (cause it's still in flash format.) able audio , video exporting .swf... that's not extension/format need or want. i looked buying .swf .avi converter last 1 used added color blotches film; made me little angry... note: imported .avi video previous flashmx project, (one know sound works [playing , exported]) , got same result... no audio whatsoever. (yes...import audio checked..[i did import bunch of .avi files prior this. import audio unchecked...if caused sudden change..])...

8 Channel Relay Module - Raspberry Pi Forums

Image
i believe i've managed working i've got couple of questions i've followed code site below. http://www.susa.net/wordpress/2012/06/r ... sing-gpio/ question 1. why light go on when signal low? question 2. if low mean lamp turn on? raspberrypibeginners wrote: i believe i've managed working i've got couple of questions i've followed code site below. http://www.susa.net/wordpress/2012/06/r ... sing-gpio/ question 1. why light go on when signal low? question 2. if low mean lamp turn on? can't readilly tell, have wired closed relay contacts rather open one? -gordon raspberrypi

Offering a cheap PCB assembly service (UK) - Raspberry Pi Forums

Image
hello there! ive been working few raspberry pi inventors or designers , thought may of use else freelance electronics engineer i'm offering services it. im trying build customer base , relationships networking people have passion electronics. hobbyist, inventors, new product designers, love help. work my own studio. can :- surface mount , through hole conformal coating , loom , cable assembly try other services ask or pm info thanks lame forums not let me pm lol how charge pcb assembly? example project board size 40x60mm components on 1 side solder paste gerber available 1x qfp100 2x through hole components 170 total pads 23 total components (smd) smallest 0604 how / how long oh , abouts based? email russdx @ gmail com raspberrypi

Duemilanove + LM35 temp sensor -TO- Pachube ?

Image
hello! i have arduino duemilanove , lm35cz temperature sensor. is possible upload temperature data pachube.com without ethernet shield ? arduino software serial monitor can see temperature, possible send information (from serial monitor) pachube.com feed ? actually dont understand meaning of ethernet shield, because arduino boards have usb connection , guess things can done on usb...? or wrong? the serial monitor reads data serial port, , displays on screen. takes data input field , sends serial port, when send button pressed. it can nothing else. you could, however, write application ran on pc read serial port , post pachube/twittter/your own web site. reading serial port trivial. posting own web site pretty easy. posting else's not difficult. combining 2 tasks pretty easy. Arduino Forum > Forum 2005-2010 (read only) > Software ...

Thread: ubuntu not booting

ok new ubuntu , linux in general. haven't had use command line or shell in quiet sometime. however, of friends , colleagues keep telling me things , excited using it. installed jaunty it's own partioned on laptop. used few hours looking around getting know it. however, tried update things display drivers. went reboot , after initial loading screen (after loader) goes fuzzy on me, display drivers messed up. tried reinstall won't let me reinstall on partition created , can't access partition windows vista. new ubuntu , appreciated. thank you. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] ubuntu not booting Ubuntu

Processing error

hello, i use following code send image c328 camera processing. i following error: nullpointerexeption i use following processing code: code: [select] import processing.serial.*; serial myport; int = 1; string imagefilename = "photo_" + year() + "_" + day() + "_" + month() + "-" + hour() + "_" + minute() + "_" + second() + "_" + millis() + ".jpg"; int chare = 69; int charo = 79; int charf = 70; int totalbytes = 0; byte[] photo = { }; void setup() {  //set , open serial port  println( serial.list() );  myport = new serial( this, serial.list()[1], 9600 );  myport.clear(); } void draw() {  // import picture  byte[] buffer = new byte[64];  while( myport.available() > 0 )  {    int readbytes = myport.readbytes(buffer);    //print( "read " );    //print( readbytes );    //println( " bytes ..." );    for( int = 0; < readbytes; i++ )    ...

Thread: No longer able to access properties of vertical panel

while experimenting appearance of gnome desktop, made 1 of panels vertical, on left side of screen. panel clock on it. now, whenever try change properties of panel right clicking on it, properties whatever panel applet closest click. there doesn't seem anywhere can click properties whole panel. there other way access properties of panel? running ubuntu 9.04, gnome 2.26.1. "about" screen of other horizontal panel says "the gnome panel 2.26.0". here output of uname -a: code: linux hostname 2.6.28-13-generic #44-ubuntu smp tue jun 2 07:57:31 utc 2009 i686 gnu/linux f2 type gconf-editor > apps > panel Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [gnome] No longer able to access properties of vertical panel Ubuntu

PLS HLP : TLC5940 - Y R all LEDs lit at same time

Image
i'm attempting test out new tlc5940 got.  i hooked described in "basicuse" sketch, supposed "knight rider" type effect.   the problem: leds lit pulling around 20ma across them piece (with 2k ohms resistance between tlc5940 pin 20 , ground).  there no "knight rider" effect, or variation @ all.   - i've double-checked connections (not that means anything) - nano's surface mounted led (which mirrors pin 13's output) flashing faintly , fast. - i've attached 6 leds @ moment (see picture below) fear of having 16 lit leds frying -- connected pins 9 - 14 on tlc5940.   - changing value in tlc.set(channel, 4095) nothing... nothing seem editing code changes -- same outcome; leds lit. also, i've read people should sending +3.3v arduino tlc5940 (instead of +5v)... how go doing nano?!?!? i've got doing totally stupid... know  it!  any, , suggestion/recommendations appreciated.  i'll post pic in next post. thanks , help! ...

Modifying recotana's OSC library for 0021

i noticed today recotana's osc library doesn't seem working new arduino ide (0021). seems though lot of functions have changed in w5100.c file in ethernet library. i've been replacing of functions 1 know have got stumped on few. sn_ir(socketno) old function. replace with? getsn_ir( socketno ) missing. iinchip_write function has disappeared. there doesn't seem commenting in new w5100 files don't know does. out there have ideas? Arduino Forum > Forum 2005-2010 (read only) > Software > Development > Modifying recotana's OSC library for 0021 arduino

ANN: Python-on-a-Chip release 09

[font=courier new]================ python-on-a-chip ================ featuring pymite vm ======================= :author: dean hall :copyright: python-on-a-chip copyright 2003, 2006, 2007, 2009, 2010 dean hall , others.            python-on-a-chip licensed under gnu lesser general public license v 2.1            pymite copyright 2003, 2006, 2007, 2009, 2010 dean hall.            pymite licensed under gnu general public license v 2            or commercial license.            this software offered no warranty.  see license details. :release: 09 :site: http://www.pythononachip.org the python-on-a-chip project pleased announce release 09. python-on-a-chip (p14p) project develop reduced python virtual machine (codenamed pymite) runs significant subset of python language on microcontrollers without os. the other parts of p14p device drivers, high-level libraries and other tools. p14p runs on microcontroller 8k of ram or more, including arduino mega . here important new featur...

arduino processing

can 1  help me please im tryng send email threw processing , arduino can 1 tell me do without external hardware, arduino can not send e-mail. i'm not sure ab out processing, doubt can send e-mail either. what external hardware have? conditions determine when e-mail gets sent? arduino or processing application supposed send e-mail. what code you have arduino? processing application? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > arduino processing arduino

NewSoftSerial (HELP)

hello all, your in problem below wellcome. need use 2 tx outputs, 1 setup gps , other 1 send lat., long., etc system (two way radio control receiver). made several attempts without success, can't  any signal @ tx pin3 code below (it has lot of patches test input, because, wasn't able read inputs sentence. had setup baudrate 4800 in order sentence without errors): code: [select] #include <newsoftserial.h> newsoftserial gps1(2, 3); newsoftserial gps(0, 1); string chkstr = string(5); string datastr = string(65); string returnstr = string(12); char chkbyte; char inbyte; int = 10; int page = 1; void setup() {  pinmode(0, input);  pinmode(1, output);  pinmode(2, input);  pinmode(3, output);  lcd.begin(dog_lcd_m163,0x28);  lcd.setcursor(0, 0);  lcd.print("--arduino  gps--");  lcd.setcursor(0, 1);  lcd.print("------v2.1------");  delay(2000);  gps1.begin(38400);  serial.begin(38400);  gps1.read();  serial.print("$pmtk251,4800*14\...

Change Email Address for Registration - Joomla! Forum - community, help and support

hi there does know how can change email address notifications of new site user sent to? changed address in global config has made no difference. mnay thanks jaime hi jaimwa,             had same problem today , found answer here if still need it. http://forum.joomla.org/index.php/topic,39067.0.html when searched found 3 posts total, yours answer , other 1 not answered. hope helps. paul Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

aide sur un nunchuck+arduino [FR]

bonjour, je suis nouveau et embêter, je voudrais utiliser le bouton c du nunchuck pour contrôler une led; -le nunchuck marche parfaitement avec arduino ( accéléromètre+joystick). - j'ai un code que je posterai dans un second message -je crois avoir compris que le boutton c fonctionne de cette manier: 0= bouton pressé 1= bouton relache mais malgres tout sa quand je charge le programme la led s'allume sans que je ne fasse rien et ne s'eteint pas. merci de votre aide. you'll better off posting in french forum: http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?board=francais i don't speak french, , reckon of users here don't either. can't bothered throw translator on text, should've done prior posting, in opinion. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs ...

[RESOLVED] More than 1 Joombla using the same user data - Joomla! Forum - community, help and support

Image
hello. got problem , in obstacle got lack of php knowledge :s.   want have more 1 joombla on same website, , of course have different news, themes, etc... that's easy, making new instalation. but need both websites share user data. not news nor other sql part, users... i've been looking @ forum , far haven't found useful, that's why i'm posting .   there way make in easy way? because don't wanna mess php codes myself while, i've had lot of problems before doing xd... so... idea???    , thank u all! cyaaa!  binaryflow there no easy way this. have start hacking in core files. default, joomla uses table prefix tables of 1 installation. 1 installation, looks @ tables 1 prefix. ldap 1 way have 1 user database. there hack available, search forums 'ldap hack'. there going mambo provided later on when joomla 1.1 gets released. Board index Joomla! Older Version Support Joomla! 1.0 General Q...

Overclock Not Working - Raspberry Pi Forums

i have arm_freq=1000 , force_turbo=1 in config.txt when run /opt/vc/bin/vcgencmd measure_clock arm still shows 700mhz. when used raspi_config , set automatic turbo overclocking mode , opening multiple browser windows @ time, maxing out cpu, /opt/vc/bin/vcgencmd measure_clock arm still showed 700mhz. brand new 512mb pi raspbian set yesterday. know whats going on? im having same problem. used raspi config set mine turbo when check it shows 695. when check config file overclock settings in config file should be. raspberrypi

Problems with reading serial into an array.

hi all, i've got problem i'm desperate solve , have been struggling time. i have telescope read it's position in degrees (0-359) every second through serial cable , write array. my arduino program check's contents of array every 2 mins displays on lcd  (e.g 159). continuous loop, checking array every 2 mins. my problem first read of array works fine (e.g. 159), 2mins later postion of telescope hasn't changed , should still read 159, i'm doing wrong array get's truncated , read 15 instead of 159). the value serial  3 numbers stored array. my code below [code] // include library code: #include <liquidcrystal.h> // initialize library numbers of interface pins liquidcrystal lcd(12, 11, 5, 4, 3, 2); unsigned long previousmillis; void setup() {  lcd.begin(20, 4);            serial.begin(9600); } const int max_len = 4; // max digits in number plus decimal point char  strvalue[max_len + 1]; // add 1 terminating null i...

help with topics for flash video.

i in class called digital design. assigned project make flash animation video 30 seconds long+. can either commercial, music video, or movie trailer. want people mine. funny , everything. can't think of topic/subject easy make in flash. im not it, im willing try anything. please help! hi there, check out following sites, or google "flash short animations" maybe spark idea you: http://www.adobe.com/cfusion/showcase/index.cfm this 1 great: http://www.deviantart.com/deviation/34244097/ http://www.atomfilms.com/home.jsp good luck! More discussions in Using Flash Player adobe

Need component plz help! - Joomla! Forum - community, help and support

Image
hi name dennis , denmark so if english bad, know why, hope u can read writeing.. i need component can show ads in categories, (danish link) http://www.forbrugertilbud.dk/kategori.asp?cat=2 what need is.. - show pictures (ads) tekst (i must define pic links to/ or must disable link) - nice if show ads 2 rows link exsample.. any suggestions welcome ! thanks.. hi snuff, try bookmarks component www.tegdesign.ch brilliant least very configurable , want Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Switch case syntax help needed

hello all, i've discovered arduino stuff , having ton of fun it.  once receive board , run tests, i'll post project in case interested. i'm having trouble establishing switch case structure , need know if following valid.  i've read switch case doc, either doc doesn't cover or i'm trying switch case can't handle.  please let me know if possible , syntax real. voltsin = analogread(15) switch (voltsin) {  case voltsin < 12:  // something  break;  case 12 < voltsin <= 18:  // else  break;  case voltsin > 18:  // third thing  break; } cheers! you're trying c "case" statement doesn't support; use nested ifs instead: code: [select] if (voltsin < 12) {  //something } else if (voltsin <=18) {  //something else } else if (voltsin > 18) {  //a third thing } you realize have work analogin value before accurately corrospond unit 'volts' ? Arduino Fo...

Document managing component - Joomla! Forum - community, help and support

is there component joomla allow registered users add documents (pdf, tif, doc, etc...) site? news contents basically. users download these published files. thank you. document management (downloads) ---------------------------------------- docman a document management , download component. home-mambodocman   joomlaforge   download   bugtracker   documentation   faq  supportforum   tutorial  screenshots  examples:  mambodocman   mamboy   ioha   agnix   mosce-cellardoor   context   joomla forum:  docman 1.3 rc 2 released   remository flexible , user friendly file repository component. home-remository   mamboforge   download   bugtracker   documentation   faq   supportforum   tutorial   screenshots  examples:  remository   blacksheepresearch   molinux   joomlaos.de   bitburners   joomlaya   remocheck a component deter...

Attiny 45/85 on arduino, will intterrupt work?

i reading on site http://hlt.media.mit.edu/wiki/pmwiki.php?n=main.arduinoattiny4585 on how work attiny 45/85 arduino board, so question is, interrupt work atmel328 do? seems like... seen datasheet: http://search.digikey.com/scripts/dksearch/dksus.dll?detail&name=attiny45-20pi-nd ? -arne Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Attiny 45/85 on arduino, will intterrupt work? arduino

Moduler for reiseskildringer - Joomla! Forum - community, help and support

hei, på mitt nettsted asia observer ( http://www.asiaobserver.com ) ønsker jeg å la brukerne selv skrive en del av innholdet, men sortert en fornuftig struktur. dette er aktuelt bokanmeldelser, men også reiseartikler. brukerne skal får skrive sine personlige reiseskildringer og tips fra ulike steder asia. men jeg må kunne sortere artiklerne kategorier slik @ man kan klikke seg fram etter land og region, gjerne også etter hvert søker etter andre kriterier. folk må kunne legge ved bilder. noe av det samme gjelder bokanmeldelser - der må man kunne søke etter forfatter, genre, etc. noen tips om hvordan jeg kan bruke joomla til dette? john einar sandvand du kan bruke en weblogg-komponent som feks. ewriting reiseskildringer. hvis du ser gjennom komponentene til www.mamboforge.net og www.developer.joomla.org synes jeg å huske @ det er en anmelder-komponent ett eller annet sted musikk. da er det bare å forandre litt på tekstfilen, slik @ det passer anmeldelser av reisebøker feks. det er ve...

Arduino to Excel How do I do it?

hi! im rather new arduino plattform , searching simple way data arduino excel later processing of data... how do it? every suggestion welcomed. i´ve search on web far haven´t found anything...just few comment reading serial , pass way how do it?. in arduino software , in excel. or easier plot in processing? ...as in tutorial files one way data comma separated file (csv) on machine running excel , import file excel. to send csv data using arduino serial, following: serial.print(value1, dec);  // send first value   serial.print(",");                    // separated comma serial.print(value2, dec);   // other values sent above   serial.print(","); serial.print(value3, dec);     serial.println();                    // print linefeed character           you can receive serial data using terminal program can ...

Arduino + C++: "Quick Start" with VS2008 Express

hello,  i updated interfacing software wiki page easier out-of-the-box start using visual studio 2008 express edition communicate arduino on serial.  it has been long time since wrote low-level program, thus, have taken me forever serial communications working.  for don't want spend money, , aren't software savvy, quickest way start hacking serial communications.   it's located here: http://www.arduino.cc/playground/interfacing/cppwindows#visualstudio2008 i reference existing arduino sketch in steps, in future i'll create stand alone example.  it took me 15 minutes (after installing vs2008 ) working.  i'm sure can replace "c++" other .net supported language , it'll work fine.  i think might experiment doing through webservice.  i looking expand page: http://www.arduino.cc/playground/code/visualstudio  so can create, edit, compile, debug , burn code arduino.  the idea able create solution 2 projects in it: pc side , arduino side.  this way ...

UART initialisation is incorrect - Raspberry Pi Forums

Image
as can see on attached oscilogram bad_init.jpg (11.69 kib) viewed 716 times - here problem @ initialisation(exactly @ open) /marked red ellipse/ stage of rpi uart - it's trigger tx state lead many communication issues. code: select all #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <termios.h> int main(int argc, char ** argv) { int fd; fd = open("/dev/ttyama0", o_rdwr | o_noctty | o_ndelay); fcntl(fd, f_setfl, fndelay); int n = write(fd,"aaa",3); close(fd); return 0; } - no idea ... possible kernel code of uart initialisation incorrect raspberrypi

Accepting URL Parameters

dear associates , guru's, i need pass xml file, "xml_file=test_xml.xml" flash movie swf file can open xml file , use in swf movie. the xml files based on session variable , uniqe each user. using: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="400" title="movie flash player"> <param name="movie" value="movie.swf" /> <param name="quality" value="high" /> <param name="flashvars" value="xml_file=./xml/test_xml.xml" /> <embed src="movie.swf" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="400" flashvars="xml_file=./xml/test_xml.xml"...

TimerOne and Wire Library

i've been scratching head on hour or , nailed down it's interrupt issue. basically i'm needed timer every 25 microseconds update led matrix, , i'm using wire library read in wii nunchuk data. if disable timerone, no issues, need 25us clock cycle leds. code: [select] void setup() {    serial.begin(57600);  serial.println("booting up.....");    is_connected = 0;  nunchuck_pre_init();  timer1.initialize( 25 );              // initialize timer1, 25 microseconds refresh rate.  // adjust please. slow makes leds flicker.  // fast , interrupt may chew processing speed!  timer1.attachinterrupt( shipled ) ;  // attaches routine drive leds } in loop() i'm pretty polling nunchuk data looks like: code: [select] static void nunchuck_get_data() {    send_zero (3); // send request next bytes  cnt = 0;  wire.requestfrom (wii_nunchuck_twi_adr, wii_telegram_len);      // request data nunchuck  while (wire.available ())    {      outbu...

How am I supposed to use the tabs?

i've made light use of tabs in ide in few programs i've written, current program more complex , thought seperate out various functions various tabs keep track of everyting.  ie, tab sound code , globals, tab servo code , globals, etc. but when tried doing ran nothing problems.   for example, apparently global variable declared in 1 tab isn't global @ , local functions in tab?  to around this, gave in , moved globals main tab.  but ran error function in 1 tab referenced functions in tab , complained out of scope. so i'm wondering should do.  i mean seems way solve declare functions somewhere.  but rubs me wrong way.  take servo functions example.  i want seperate set of functions can include in future projects.  but seems here choices limited redeclaring functions in in main program, or creating header file declarations , including @ top of code.  the latter not nice solution because i'll have twice many tabs in ide , half of th...

connectors - Raspberry Pi Forums

hi have been connecting rpi via gpio breadboards , connecting other things solder or terminal blocks... want find better ways of connecting wires , components without solder. ie normal 3 wires peripheral maybe 3 wire connector 3 pins. can through catalogues , online want wander round big electronics shop somewhere. oxford maplin doesn't have choice. ideas of big hobbyist physical store somewhere in central england? thanka r adafruit cobbler maybe or minimal solder gpio boards raspberrypi

Calculating parity of a binary number

Image
hi, i have external device sends binary data arduino 16 bits @ time.  of these 16 bits, first bit parity of next 7 bits while last bit odd parity previous 7 bits. have idea of how in head loop , few conditionals don't quite understand how in wiring. can me? thanks in advance by "do this" assume mean check parity? here's potential starting point: code: [select] unsigned thevalue; // 16-bit value external device // i'm assuming "first bit" lsb , "last bit" msb unsigned evenparity = (thevalue & (1<<0)) ? 1 : 0; unsigned oddparity = (thevalue & (1<<15)) ? 1 : 0; unsigned firstparity, secondparity, bit; // compute parity on first set of 7 bits past parity bit for (bit=1, firstparity=0; bit < 8; bit++) {  firstparity ^= (thevalue & (1<<bit)) ? 1 : 0; } // compute parity on next set of 7 bits for (bit=8, secondparity=0; bit < 15; bit++) {  secondparity ^= (thevalue & (1...

ArduPilot Mega: 1000-2000 usecond range for Servo

running 4 servos ardupilot mega board, using code below, little jitter...can any1 see if doing mistake?... i running ardupilot mega (atmega1280) on 16mhz... tccr1a =((1<<wgm11)|(1<<com1b1)|(1<<com1c1)); tccr1b = (1<<wgm13)|(1<<wgm12)|(1<<cs11); ocr1b = 3000; //pb6, out2 ocr1c = 3000; //pb7 out3 icr1 = 40000; //50hz freq... tccr5a =((1<<wgm51)|(1<<com5b1)|(1<<com5c1)); tccr5b = (1<<wgm53)|(1<<wgm52)|(1<<cs51); ocr5b = 3000; //pl4, out0 ocr5c = 3000; //pl5, out1 icr5 = 40000; //50hz freq how "a little"?  what rest of program doing? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > ArduPilot Mega: 1000-2000 usecond range for Servo arduino ...

ADC Pi and GUI Help - Raspberry Pi Forums

hi im python beginner , trying small gui program made work adc pi add on board, ive ran example code http://elinux.org/rpi_adc_i2c_python , works in command line, ive gone through glade tutorials , got basic gui , running getting them working stumping me, following error when trying display output value: code: select all traceback (most recent call last): file "./adc_demo.py", line 88, in on_sfm_button_clicked self.rpm = (getadcreading(adc_address1, adc_channel1)) file "./adc_demo.py", line 40, in getadcreading bus.transaction(i2c.writing_bytes(address, channel)) file "/home/pi/quick2wire-python-api/src/quick2wire/i2c.py", line 72, in transaction ioctl(self.fd, i2c_rdwr, addressof(ioctl_arg)) ioerror: [errno 25] inappropriate ioctl device python code im running is: code: select all #!/usr/bin/env python3 # read abelectronics adc pi board inputs # uses quick2wire http://quick2wire.com/ # github: https://github.com/quick2wire/quick2wire-...

Byte to Int Conversion

hi guys, i controlling stepper motor potentiometer part of project , expanding able control pc. sending value equivilent pot value (ie upto 1024) cannot value store properly, can read each byte own variable , spit them out 1 1 cant convert them int, ie if send 743 can store 7, 4 , 3 seperatly cant merge them int pass 743 delay. heres code im using: if (serial.available() > 0)                             {        serialspeed1 = serial.read();                        serialspeed2 = serial.read();                        serialspeed3 = serial.read();                        serialtotal = ((serialspeed3) + (serialspeed2*10) + serialspeed1*100);       }        motorspeed = (2000/serialspeed1)+1;                    stepper.step(1);                                      delay(motorspeed);                                    serial.print("i received: ");      serial.print(serialspeed1, byte);      serial.print(serialspeed2, byte);      se...

ATmega328 Timer_2 Problem

Image
i've tried program timer 2 setting in atmega 328 there problem. expect word "interrupt..." printed every 1 second. arduino duemilanove runs @ 16mhz, atmega 328 has 10 bit adc , timer 2 runs @ 8 bit. number of timer_2 overflows, use formula: 1 / ( 16000000 / (1024*256) ) = 1 / 61 so means arduino timer 2 has 61 overflows per second. not case.  the word "interrupt..." printed out every 2 seconds. below code code: [select] #include <avr/interrupt.h > #include <avr/io.h > #define init_timer_count 0 #define reset_timer2 tcnt2 = init_timer_count int int_counter = 0; // aruino runs @ 16 mhz, have 61 overflows per second... // 1/ ((16000000 / 1024) / 256) = 1 / 61 isr(timer2_ovf_vect) {  int_counter += 1;  if (int_counter == 61)  {    int_counter = 0;        showdata();  } }; void showdata() {      serial.print("interrupt..."); } void setup() {    serial.begin(9600);    //timer2 set...

Thread: Mode Not Supported vs. Intel Graphics Chip.

ok, i'm using old desktop , running ubuntu hardy heron 8.04.1 lts. has 00:02.0 vga compatible conwoozlerer: intel corporation 82845g/gl[brookdale-g]/ge chipset integrated graphics device (rev 03) have samsung lnt-3242hx/xaa 40" lcd tv. have boot in recovery mode autodetect hardware , appear on screen. otherwise screen reads "mode not supported." i'm lurked forum , searched threads. have tried edit xorg until eyes bled. do here? try using different type of connector. had same problem in 8.04 samsung 32" lcd tv connecting hdmi, switched vga , works, albeit not @ desired resolution. think resolution issue more tv laptop though. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Mode Not Supported vs. Intel Graphics Chip. Ubuntu

error message

could have sworn posted hour ago perhaps had senior moment! when open dw following error- started today! any ideas? the following javascript error(s) occurred: at line 56 file c:\programfiles\mm\dreamweaver8\configuration\shared\common\scripts\dwscriptsextdata.js referenceerror: dwscripts not defined thanks ian -- i.edwards@nospamedwards-micros.co.uk http://www.edwards-micros.co.uk you did. answered. -- 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 ================== "ian edwards" <i.edwards@nospam-edwards-micros.co.uk> wrote in message news:f2kkfi$jg1$1@forums.macromedia.com... > have sworn posted hour ago perhaps had sen...

Create a package - Joomla! Forum - community, help and support

hi folks, know in simple words requiered (how to) in order make joomla package additional cmbts please? i'd take j! 1.0.4 (or whatever version) , have install additional stuff languages, akocomment com , bot, joomlaboard, community builder etc.. in french versions preparing. this make easier novice users install once , have installed, in language, no hunting files, install problems etc.. so, right steps? 1. add files in requiered locations => thought i'd make locall install, add cmbts, , zip up? 2. sql queries: can use drop of install , add (which) j! installer file? thanks in advance. Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Joomla! 1.0 Coding

counter analog

hi, can tell me how counter in analog sensor? using photoresistor, want count how many times blocked, seem in code, keep counting when blocking. want button (so counted when pressed , when blocking = 1, not keep counting) code: [select] #include <timedaction.h> int potpin = 0;    // select input pin photoresistor int ledpin = 13;   // select pin led int val = 0;       // variable store value coming sensor int currval =0; int valshadow = 0; timedaction resetaction = timedaction(5000,resetshadowcount); timedaction updateshadowaction = timedaction(500,updateshadow); void setup() {  serial.begin(9600); // value  pinmode(ledpin, output);  // declare ledpin output   } void loop() {  resetaction.check();  updateshadowaction.check();     } void resetshadowcount(){  //valshadow += currval;  serial.print("your shadow ");  serial.print(valshadow);  ...

EXT4 partition gets disconnected while using rtorrent - Raspberry Pi Forums

hello, have external usb hdd formatted ext4. hdd connected via powered hub , had ntfs file system. i'm using rtorrent download on hdd , (after did switch ext4) quite hdd gets disconnected (hence rtorrent crashes) , have remount it. relevant content of dmseg can seen below: code: select all [317211.217423] wlan0: no basic rates in assocresp. using min supported rate instead. [324920.877001] ieee80211 phy0: wlan0: no probe response ap f8:d1:11:b7:de:2c after 500ms, disconnecting. [324920.903592] cfg80211: calling crda update world regulatory domain [324922.230940] wlan0: authenticate f8:d1:11:b7:de:2c (try 1) [324922.233325] wlan0: authenticated [324922.255323] wlan0: associate f8:d1:11:b7:de:2c (try 1) [324922.258298] wlan0: rx reassocresp f8:d1:11:b7:de:2c (capab=0x431 status=0 aid=1) [324922.258329] wlan0: associated [324922.258354] wlan0: no basic rates in assocresp. using min supported rate instead. [333926.834244] ieee80211 phy0: wlan0: no probe response ap f8:d1:11:b7:de:2...