Programming?

Does anybody else on this website know how to program in SPIN? Haven't seen much Propeller programming on this website...

Question by blinkyblinky   |  last reply


Programming?

I'm just looking for something good to program right now.  Any ideas?

Question by KaydenST   |  last reply


programming

Iwas wondering if you can program anything you putt on a curcit board using a female d sub

Topic by poop#1   |  last reply


Programing?

I have noticed that on Instructables, I seldom see anything relating to computer programming. I'd like to change that. I would strongly reccomend adding a tab labled: Programing under the Tech section of instructables. To clarify this, I am referring to the sections under Tech. e.g. CNC and Microsoft.  Thank you.

Topic by cjs1298   |  last reply


Programming

Just looking for some good Tech Resource books that go from basics to beyond.... Any help would be greatly appreciated.

Topic by Cheshir_monkee   |  last reply


ghetto programming

How do i program a avr micro processer with perl? and where will i get guides on how to do this?

Topic by cris1133   |  last reply


Programming eeprom

I have been trying to program an atmel 25040 eeprom with a superpro3000, it accepts the program,but when I click on the verfy option an error message appears. Can any one please help?

Topic by jimenazo   |  last reply


LED Programming

Ok so...I want to program led lights to flash in secquence. See the attached image. I'm not good at programming and don't know much about microcontrollers...So...What microcontroler do I use...how do I program it? Sorry for the noob questions but i need help!

Topic by Joe426   |  last reply


Programming a microcontroller?

Hi everyone I have got a MICROCHIP - PIC16F616 to play with, I am going to write a little program and load on it. http://onecall.farnell.com/microchip/pic16f616-i-p/8bit-flash-mcu-smd-16f616-dip14/dp/1332199?Ntt=1332199 However, I have a few questions before I do this. 1. How do I know whether language I should write? like C or Assembly? does it tell you in the datasheet (link above), because I don't seem to find it. 2. What kind of program do I need for loading the program into the chip? is it also an information I can find in the datasheet? or it is really some common sense between programmer. My supervisor doesn't offer much help... Extra question Here is the link of open programming, I am just curcious that if I build this programmer (I have one for my chip, but just wanna learn something), does it mean that I can use this to connect my microcontroller and my computer, so to load the program into the microcontroller? http://openprog.altervista.org/OP_eng.html Many thanks

Question by luckyvictor   |  last reply


Programming compilers?

Hi guys! Well, I usually program using Microsoft's visual studio suite; however, I'm getting tired of my programs requiring the .net framework to run. Basically, I was wondering what compilers programmers use to write their programs. I really don't care what the language is, I have a fairly broad knowledge of programming languages, and I could always pick up another if need be. Anyway, could anyone point me out a few names of compilers? I would be very grateful. (Particularly if they were free) Thanks!

Question by transistorguy   |  last reply


C++ programming...?

Hi all. i know a bit of c++. And I want to make a simple program that calculates Pi. Now, I want it to have the user input the number of decimal point thingies... and let it do the rest. BUT, it must be stoppable no matter how HUGE a number the put in... and im 12, so please try to make it as easy as possible. THANKS!

Question by sci4me   |  last reply


Microcontroller programming

What are the sbi and cbi functions in microcontroller programming??????????????

Topic by sweetramy   |  last reply


Program in BASIC?

Can someone convert a text document into a program. If you tell me your email I will send you the text document.

Question by neeley   |  last reply


programing in comupters

I am working on a rc helecopter but need help making a computer program for the sensors

Question by cardboarddeathray   |  last reply


Programming the iRobot

Does anyone now what language the robot can be programmed in? C, C++, C#, Java, BASIC. Anyone know?

Topic by sardines454 


Hacking a program

Is there a way to remove the trial period from a program, say its gonna expire in 30 days, delete that piece of memory so it forgets and you have it forever? (photo courtesty of whatsisface)

Topic by Danny   |  last reply


Programing languages

Hey guys its me again, i have been hacking for a 2/3 years now but only physically as for code i only memorize certain commands like ipconfig, (otherwise i use you tube) and some other commands that are basic. Today is a new day and i have chosen to learn a computer language for the purpose of hacking and making programs and my first thought to help with this delema was Google but it didn't help so i am depending on you instructable members. What is the best program for hacking and writing programs?? please respond

Topic by HOMEPIE64   |  last reply


Freescale Programming?

Out of the many samples I recieved last week, the freescale MC908JL8MPE is one of the few that I like the look of. Its a beefy PDIP with 28 pins, unlike the many TQFNs I've recieved I could actually solder this (well no need as it fits in a breadboard). But my problem is, there doesn't seem to be many easy-to-follow tutorials for programming these microcontrollers. The only simple solution seems to be to buy £100 programmers.. which I'm not too keen on. Is there a simple way to program them via parallel/serial or maybe using my usbtiny to program an atmel chip to program the freescale chip? Thanks.

Topic by alexgeek   |  last reply


PIC16F877A program

Hi, i am trying to build this code for like a week but didnt had any luck in making it perfect. i'm using MPLAB software for compiling and writing the program and Proteus for hardware simulation. here is the attached picture of the question i was assigned to build. if any one could please provide me with a code i would be more then happy. thanks in advance.

Topic by pizzadox747   |  last reply


Translation program

Would it be possible to have instructable to get a translation capable program put on the site, This way we can translate spanish to english and english to spanish. I think this would help so many of us DIY people. 

Topic by Tate1963   |  last reply


programable led

I have a project that requires a board with multiple led's that each led can be programed to blink at specific frequencys. i then will run plastic fiber optitics to the location where the light is to display. i have no idea were to start with this.... so i ask - jt

Topic by wavejumper   |  last reply


Cad programs?

What do you use for cad? I just got a new macbook and I was wondering what you recommend. Does anyone know how to run windows programs on mac for free, or where to get an XP live CD. Thanks.

Topic by LinuxH4x0r   |  last reply


Unzip Program? Answered

I had winzip something and it was lame, I don't want to buy it and it has a bunch of buttons and stuff.  Is there an unzip program that lets me just select multiple zip folders and drop them all into a folder, with an easy left click, like notepad ++ which has an edit option on all the file sub menus.  I remember back in the day with XP, i believe it had a really good unzip thing.

Question by jj.inc   |  last reply


electronics program??

Hi guys, as you can tell by my name im a quite new to electronics especially when its resisters and capactors , does any one know of a program that i could use to create circuits and try out ideas without blowing my self up or having a shocking time.???

Topic by TotalNOOB   |  last reply


Video Programs

I've been looking for a good program for making videos, and was wondering what other people have used. I tried the trial version of Vegas,but can't buy it because of the price. Anything over $100 is too much, ~$50 is better. Ulead has been suggested to me. It has to handle mpeg-2 video from a Sony Handycam, too.

Topic by John Smith   |  last reply


pic programming? Answered

I am not able to load the hex file to the pic that hex file i am trying to load had loaded sucsessfully before but now gives a verification error. why is this happening and how to fix this?????

Question by robot1398   |  last reply


Flowchart Programs? Answered

I have had enough of making flowcharts from scratch and despite there being thousands of programs available, I have yet to find one with the following abilities.   -Make chart automatically, size/formatting based on number of connections -Take inputs from a list, for example I put in all the words, then I can add tags to three categories, incoming, outgoing, and bi-directional connections which link similar parts. My current example is a list of 60 words which have various relationships.  They range from bonds (ionic, covalent polar, hydrogen...) to carbohydrates.  It would be great to just put in the list and tag the words that are related, so when I put in bonds, I could tag the different types.  If I put in carbohydrates I could tag organic compounds.  Then it could be put into a visual flow chart. If someone gives me the answer google it I would be quite frustrated, I have been through many pages of results to no avail and I have tried many "automatic" flowchart programs.  I know making a program to analyze connections wouldn't be too hard, put I have no idea how to make a program with customized graphics, let alone an automatic one. So making one isn't quite going to work.

Question by jj.inc   |  last reply


C Programming Answered

Hey, I would like to start learning C (yes, I want to learn C, not C++, because so then I will be able to prgram the Arduino), so I wondered if any of you guys know a good tutorial or a good book on how to learn C. Sorry my english is not good, I do not live in an english speaking country. SKC

Question by Balls of Kevlar   |  last reply


C programming

Hey, I would like to start learning C (yes, I want to learn C, not C++, because so then I will be able to prgram the Arduino), so I wondered if any of you guys know a good tutorial or a good book on how to learn C. Sorry my english is not good, I do not live in an english speaking country. SKC

Question by Balls of Kevlar   |  last reply


programming help

First of all, I am new to this. But for my CEIS course project I decided to program an rc vehicle because I thought it would be COOL! Now I am knee deep into the project and I am needing guidance.  So I am going to attempt to stack raspberry pi hats. One adafruit pwm for servos and the other adafruit pwm for dc and stepper motors. The first thing I done wrong was solder the gpio headers on backwards. Since I'm not too professional with a soldering iron I ended up making the drives of no use and ordered more. Before I done that, I got my pi camera working! Still need to program the pan/tilt servos. I have battery power, wiring, almost everything as far as hardware. Just not sure if I am headed in the right direction. I tried different things with python and the i2c but now when I start up the Kernel Module fails.  Any help will be great!

Topic by SMILEY4242 


Program stability

I origionally posted this in questions, Instructable program stability? FACEBOOK TWITTER EMAIL Flag WHY does the screen jump up and down when trying to read an instructable??? Its almost impossible to read. It would appear to be linked to the "adds" that are loaded. "Adds" meaning links to other stuff. Debian 8.4 on brand new G750JM completely stripped of any Micro$ software. Single boot. i7-4710HQ CPU @ 2.50GHz 3.16.0-4-amd64 (#1 SMP Debian 3.16.7-ckt25-2 (2016-04-08)) 16 G RAM with 93% free Invidea GTX860M video I believe I have found the "bug"  It appears that the video entitled "Share what you make" keeps loading and loading and loading, This stream runs like this Is there anyway to stop this? Joe

Topic by joebog1   |  last reply


Program Feedback

What's it like to be an Artist in Residence at Instructables?  Don't ask us, ask our previous residents! Being an artist in residence at Instructables by Samuel Bernier Jayefuu as Instructables' Artist in Residence by James Williamson (Jayfu) Last Day at Instructables by Kelsey Breseman (SelkeyMoonbeam) My time as an AiR by Mark Langford (Kiteman) My Summer as an AIR at Instructables by Gabriella Levine (gabriellalevine) Field Report - Mads Hobye as an Artist in Residence by Mads Hobye (madshobye) My Month at Instructables as an Artist in Residence by Tom Flock (Tomdf) What it's like to be an Artist in Residence at Instructables by Tim Wikander (timwikander) Reflecting on my AiResidency by Taylor Cone (tcone) The worst time of my life by Mario Caicedo Langer (M.C. Langer) Fozzy13's AiR Experience! by Adam Fasnacht (Fozzy13) Masynmachien's time as an AIR  by Yvon Masyn (masynmachien) My 2 Months as an AiR by Tess Howell (Tessalene) An embarrassment of riches by Rachel McConnell (rachel) My experience as an AIR by Tanner Welch (Tanner W) The AiR05 - designed and built during Q4:13 by Timothy Lipton (timmylip) Living Salad, makerbot songs, and noodle by Lauren Mccarthy (lmccart) How to got to Maker Heaven by Mikaela Holmes (MikaelaHolmes) Crazy, Amazing and Delicious AIR Experience by Rima Khalek (rimamonsta) Autodesk: Art Residency of Generosity by Scott Kildall Autodesk Artist in Residency by Anouk Wipprecht (anoukwipprecht) Duck Confit, Perfected by Aaron Geman (aaron_geman) Pier 9, I've never met anyone quite like you before. by Andrew Maxwell-Parish (ElectricSlim) To Pier 9, Thank for Everything by Thiago Hersan My Introduction to the 21st Century by John Whitmarsh My Autodesk Residency by Benjamin Cowden (tinkertinker) Talking about my Summer by Laura Devendorf (LDevendorf) Pier 9 is a Disneyland for Makers by Alejandro Palandjoglou (alepalan) Reflections on Pier 9 Residency by Andreas Bastian (andreasbastian) Making the Most of Your Time Here by Will Buchanan (buchananwp) Reflections on the Pier by Reza Ali (syedrezaali)

Topic by noahw 


assembly program

I have pic12f675. i have the neccessary asm and the header files.but i cannot compile it. please can you send me the hex file after compiling the program? as iam a student of class 8, idon't know how to compile. can you also send me the required steps? The required files are posted ;******************************* ;;LED FX.asm ;  11-3-2010 ;******************************* list p=12F629 radix dec include "p12f629.inc"   errorlevel -302 ; Dont complain about BANK 1 Registers during assembly __CONFIG _MCLRE_OFF & _CP_OFF & _WDT_OFF & _INTRC_OSC_NOCLKOUT  ;Internal osc. ;_MCLRE_OFF  - master clear must be off for gp3 to work as input pin ;**************************************************************** ; variables - names and files ;**************************************************************** temp1  equ 20h ; temp2  equ 21h ; temp3  equ 22h ; temp4  equ 23h ; jump  equ 24h ;jump value for table1 fadeUp  equ 25h fadeDwn  equ 26h sequences equ 27h sw_duration equ 28h testing  equ 29h ;**************************************************************** ;Equates ;**************************************************************** status  equ 0x03 rp1   equ 0x06 rp0   equ 0x05 GPIO   equ 0x05    status  equ 03h option_reg equ 81h   ; bits on GPIO     pin7  equ 0 ;GP0  LED C pin6   equ 1 ;GP1  LED B pin5  equ 2 ;GP2  LED A pin4  equ 3 ;GP3  Sw A  pin3  equ 4 ;GP4  Sw B pin2  equ 5 ;GP5  Sw C     ;bits     rp0   equ 5   ;bit 5 of the status register ;**************************************************************** ;Beginning of program ;****************************************************************   org  0x00   nop   nop   nop   nop   nop   SetUp bsf  status, rp0  ;Bank 1           movlw b'11111000'  ;Set TRIS  GP0,1,2 out   GP3,4,5 input   movwf TRISIO         ;    bcf  status, rp0  ;bank 0   movlw   07h          ;turn off Comparator ports         movwf   CMCON        ;must be placed in bank 0    clrf  GPIO         ;Clear GPIO of junk   call _memory   btfss gpio,5   ;SwA to: "record new sequence"    goto record     btfsc gpio,3  ;SwC removes attract sequence   goto $+.10    movlw 0FFh   bsf  status,rp0 ;select bank1   movwf EEDATA        bcf  status,rp0 ;select bank0   movlw .101   bsf  status,rp0 ;select bank1   movwf EEADR      bcf  status,rp0 ;select bank0   call  write     movlw .101   bsf  status,rp0     movwf EEADR           bsf  EECON1,0 ;starts EEPROM read operation storing result in EEDATA        movf EEDATA,w ;move read data into w   bcf  status,rp0      xorlw .8   ;look for 8 - for Attract mode   btfsc 03,2   goto Attract_Seq ;selected sequence will appear first   goto  Main         ;**************************************************************** ;* Tables    * ;**************************************************************** table1 addwf   PCL,F           ;02h,1  add W to program counter   retlw   .10     ;   retlw   .50         retlw   .30     ;   retlw   .50         retlw   .100     ;   retlw   .40  ; program starts at bottom of table   retlw   .10     ;   retlw   .50         retlw   .30     ;   retlw   .50         retlw   .60     ;   retlw   .10     ;   retlw   .50         retlw   .10     ;   retlw   .50         retlw   .100     ;   retlw   .20     ;   retlw   .50         retlw   .30     ;   retlw   .50         retlw   .70   retlw   .60     ;   retlw   .100     ;   retlw   .50         retlw   .100     ;   retlw   .50         retlw   .100     ;   retlw   .70     ;   retlw   .50         retlw   .30     ;   retlw   .50         retlw   .70     ;   table2 addwf   PCL,F           ;02h,1  add W to program counter   goto seq1     goto seq2     goto seq3     goto seq4     goto seq5     goto seq6     goto seq7     goto seq8     goto seq9     goto seq10   goto seq11       goto seq12  ;**************************************************************** ;* Delays    * ;**************************************************************** _xuS movwf temp2 _uS  movlw .10   movwf temp1   decfsz temp1,f   goto $-1      decfsz  temp2,f   goto  _uS    retlw  00   _ZuS movwf temp2   goto $+2   goto $+2    decfsz  temp2,f   goto  $-3    retlw  00  _xmS movwf temp2 _x  nop   decfsz  temp1,f   goto  _x   decfsz  temp2,f   goto  _x   retlw  00     ;5mS delay for increments in timing for "New Sequence"   _5mS movlw 05h   movwf temp2 _5  nop   decfsz  temp1,f   goto  _5   decfsz  temp2,f   goto  _5   retlw  00     _10mS movlw 0Ah   movwf temp2 _10  nop   decfsz  temp1,f   goto  _10   decfsz  temp2,f   goto  _10   retlw  00    _50mS movlw .50   movwf temp2 _50  nop   decfsz  temp1,f   goto  _50   decfsz  temp2,f   goto  _50   retlw  00   _100mS movlw .100   movwf temp2 _100 nop   decfsz  temp1,f   goto  _100   decfsz  temp2,f   goto  _100   retlw  00     _150mS movlw .150   movwf temp2 _150 nop   decfsz  temp1,f   goto  _150   decfsz  temp2,f   goto  _150   retlw  00       ;**************************************************************** ;* Sub Routines    * ;****************************************************************    _memory        movlw .48   movwf temp1   movlw 2Fh   movwf fsr   incf fsr,f   movlw 0FFh   movwf indf   decfsz temp1,f   goto $-4   retlw 00        ;SwB puts current sequence into EEPROM for turn on.      ;and puts "marker" in location 101      Attract   movf sequences,w ;put sequence number into w   bsf  status,rp0 ;select bank1   movwf EEDATA        bcf  status,rp0 ;select bank0   movlw .100   bsf  status,rp0 ;select bank1   movwf EEADR      bcf  status,rp0 ;select bank0   call  write   movlw .8   bsf  status,rp0 ;select bank1   movwf EEDATA      incf EEADR,1      bcf  status,rp0 ;select bank0   call  write    nop   goto $-1   ;Project must be turned off       ;Seq selected as Attract will be displayed when project turned on     Attract_Seq   movlw .100   bsf  status,rp0     movwf EEADR           bsf  EECON1,0 ;starts EEPROM read operation. Result in EEDATA        movf EEDATA,w ;move read data into w   bcf  status,rp0   movwf temp4   movf temp4,w      call table2    goto $-2    ;record new sequence - looks for "no switch pressed" for 1.25 seconds to exit   ;uses files 30h to 5Fh  (48 files)   ;three files per "step"   1st file = LEDs,  2nd = Off time, 3rd = on time   ;15 steps allowed - look for 5Dh   record btfss gpio,5  ;wait for release of button A   goto $-1   movlw 30h   movwf fsr   ;start storage at file 30h      ;look at keys being pressed - identifies 2 or 3 keys pressed together    _r1  clrf sw_duration _r1a call _5mS   incfsz sw_duration,1  ;5mS x 256 = 1.25seconds   goto $+2   goto Store  ;time out! store files 30h to 5Fh in EEPROM    btfss gpio,5  ;see if one or more Sw is pressed   goto $+5   btfss gpio,4   goto $+3   btfsc gpio,3   goto _r1a  ;no sw pressed create 2.5 sec timing        ;1,2,or 3 sw pressed     call _10mS  ;delay to detect 2 or 3 switches   incfsz sw_duration,1   goto $+2   goto Main    btfsc gpio,5  ;SwA   goto $+2   bsf  gpio,0  ;turn on LED A    btfsc gpio,4  ;SwB   goto $+2   bsf  gpio,1  ;turn on LED B    btfsc gpio,3  ;SwC   goto $+2   ;   bsf  gpio,2  ;turn on LED C        ;LEDs have been illuminated         movf gpio,w    movwf indf   ;w moved to fsr's file (30h+)       incf fsr,f     movf sw_duration,w ;off time!!   movwf indf   ;w moved to fsr's file (30h+)      incf fsr,f    clrf sw_duration       _r2  call _5mS   incfsz sw_duration,1       goto $+2   goto record  ;time out! keys pressed too long. Start again   btfss gpio,5   goto _r2   ;sw pressed   btfss gpio,4   goto _r2   ;sw pressed   btfss gpio,3   goto _r2   ;sw pressed          ;file empty. Put duration into file   movf sw_duration,w ;on time      movwf indf   ;w moved to fsr's file (30h+)       incf fsr,f     movlw 5Dh   xorwf fsr,w   btfss 03,2      goto $+2   goto Store  ;stop at 15 steps. store files 30h to 5Fh in EEPROM      clrf gpio    goto _r1          ;sequences:       ;seq1 Self-Programmed sequence    ;1St file:LEDs  2nd file:OFF time  3rd file:On time    seq1 bsf  status,rp0     clrf EEADR    bcf  status,rp0    bsf  status,rp0       bsf  EECON1,0 ;starts EEPROM read operation. Result in EEDATA        movf EEDATA,w ;move read data into w   bcf  status,rp0      movwf gpio   bsf  status,rp0   incf EEADR,1        bsf  EECON1,0 ;        movf EEDATA,w ;move read data into w   bcf  status,rp0    movwf temp4 ;this is OFF time. Store it   bsf  status,rp0   incf EEADR,1        bsf  EECON1,0 ;        movf EEDATA,w ;move read data into w   bcf  status,rp0    movwf sw_duration ;this is ON time   call _5mS   decfsz sw_duration,1   goto $-2   clrf gpio   call _5mS   decfsz temp4,f ;create OFF duration   goto $-2    bsf  status,rp0   incf EEADR,1        bsf  EECON1,0 ;        movf EEDATA,w ;move read data into w   bcf  status,rp0     xorlw 0FFh ;look for 0FFh - end of routine   btfss 03,2   goto $-31   retlw 00          ;seq2  chase right - very fast     seq2 bsf  gpio,0   call _100mS   bcf  gpio,0   bsf  gpio,1   call _100mS   bcf  gpio,1   bsf  gpio,2   call _100mS   bcf  gpio,2   call _100mS   clrf gpio   retlw 00     ;seq3  chase right     seq3 bsf  gpio,0   call _150mS   bcf  gpio,0   bsf  gpio,1   call _150mS   bcf  gpio,1   bsf  gpio,2   call _150mS   bcf  gpio,2   call _150mS   clrf gpio   retlw 00     ;seq4  chase right with off-delay at end     seq4 bsf  gpio,0   call _150mS   bcf  gpio,0   bsf  gpio,1   call _150mS   bcf  gpio,1   bsf  gpio,2   call _150mS   bcf  gpio,2   call _150mS    retlw 00     ;seq5  left right left right   seq5 bsf  gpio,0   call _150mS   bcf  gpio,0    bsf  gpio,2   call _150mS   bcf  gpio,2      retlw 00       ;seq6  middle on   middle off   seq6 bsf  gpio,1   call _150mS   bcf  gpio,1   call _150mS     clrf gpio     retlw 00         ;seq7  All on   all off   seq7 clrf gpio   call _150mS   decf gpio,f   call _150mS   clrf gpio       retlw 00     seq8 ;seq8  middle on then sides on      bsf  gpio,1   call _150mS   bcf  gpio,1   bsf  gpio,0   bsf  gpio,2   call _150mS   clrf gpio       retlw 00     ;seq9  police flasher  3 times left 3 times right   seq9 bsf  gpio,0   call _50mS   bcf  gpio,0   call _50mS   bsf  gpio,0   call _50mS   bcf  gpio,0   call _50mS   bsf  gpio,0   call _50mS   bcf  gpio,0   call _50mS    bsf  gpio,2   call _50mS   bcf  gpio,2   call _50mS   bsf  gpio,2   call _50mS   bcf  gpio,2   call _50mS   bsf  gpio,2   call _50mS   bcf  gpio,2   clrf gpio   call _50mS      retlw 00     ;seq10  random flicker   seq10 movlw .32  ;start at bottom of table   movwf jump   bsf  gpio,1   movf jump,w ;put table jump value into w   call  table1   call _xmS   bcf  gpio,1   decfsz jump,f   goto $+2   retlw 00  ;top of table found   movf jump,w ;put table jump value into w   call  table1   call _xmS      goto $-11       ;seq11  slow fade up down   seq11 clrf fadeUp  ;   clrf fadeDwn   incf fadeUp,f ;to create 1 (delay routine does not like 00)   bsf  gpio,1   movf fadeUp,w   call _xuS   bcf  gpio,1   movf fadeDwn,w   call _xuS         decfsz fadeDwn,f ;   goto $-8   incf fadeDwn,f ;to produce 1   bsf  gpio,1   movf fadeUp,w   call _xuS   bcf  gpio,1   movf fadeDwn,w   call _xuS   decf fadeUp,f     incfsz fadeDwn,f    goto $-8     clrf gpio   retlw 00       ;seq12  fast fade up down   seq12 clrf fadeUp  ;   clrf fadeDwn   incf fadeUp,f ;to create 1 (delay routine does not like 00)   bsf  gpio,1   movf fadeUp,w   call _ZuS   bcf  gpio,1   movf fadeDwn,w   call _ZuS         decfsz fadeDwn,f ;   goto $-8   incf fadeDwn,f ;to produce 1   bsf  gpio,1   movf fadeUp,w   call _ZuS   bcf  gpio,1   movf fadeDwn,w   call _ZuS   decf fadeUp,f     incfsz fadeDwn,f    goto $-8     clrf gpio   retlw 00        ;Store   Store the 15 steps in EEPROM    Store bsf  status,rp0 ;select bank1   clrf eeadr        bcf  status,rp0 ;select bank0    movlw .48   movwf temp1   movlw 2Fh   movwf fsr   incf fsr,f ;fsr starts at file 30h   movf indf,w ;retreive data in file 30h   bsf  status,rp0 ;select bank1   movwf eedata  ;   bcf  status,rp0 ;select bank0   call  write   bsf  status,rp0 ;select bank1   incf eeadr,1        bcf  status,rp0 ;select bank0   decfsz temp1,f   goto $-10   goto Main       write bsf  status,rp0 ;select bank1   bsf  eecon1,wren ;enable write    movlw 55h   ;unlock codes   movwf eecon2   movlw 0aah   movwf eecon2   bsf  eecon1,wr ;write begins   bcf  status,rp0 ;select bank0  writeA btfss pir1,eeif ;wait for write to complete   goto writeA   bcf  pir1,eeif   bsf  status,rp0 ;select bank1   bcf  eecon1,wren ;disable other writes   bcf  status,rp0 ;select bank0       retlw 00           ;**************************************************************** ;* Main        * ;**************************************************************** Main clrf sequences   movf sequences,w   call table2   btfss gpio,5  ;Is swA still pressed?   goto $-3   ;SwA still pressed    movf sequences,w ;SwA released   call table2   btfss gpio,4  ;SwB puts current sequence at turn-on   goto Attract   btfsc gpio,5   goto $-5   ;SwA not pressed   incf sequences,f   movlw .12   xorwf sequences,w   btfss 03,2   goto $-12   goto Main      ;**************************************************************** ;*EEPROM           * ;****************************************************************           org  2100h                 END

Question by sahebpanda2001   |  last reply


programming in amicus 18

I am doing programming using amicus 18 compiler but i dont know how to program in bas can you help me i want my robot to move forward how do i do it.?

Question by tsusadivyago   |  last reply


Scripting Vs Programming? Answered

What is the difference between scripting and programming?

Question by artworker   |  last reply


Programming In anjuita in Ubuntu

I cannot seem to run programs in anuita. Can anyone help Me. I have allready tried to compile a simple file but it wont work.

Topic by sotsirh194 


Writing programs in BASIC ? Answered

What do you save a text document as if you are writing a program in BASIC?

Question by neeley   |  last reply


Android program menu

Hello, I am trying to program my electrify M to Pageplus. I have seen no flashing tool that supports the phone. Can I program my phone with program menu like this? https://plus.google.com/115059760247096945617/posts/hbWJ1f64434 P.S. my phone is unlocked.

Question by jbaker22 


Help Programming on an AVR

I am looking at getting an USBtinyISP to start programing ATtiny 13's. I plan on using avrdude. I already have some experience with the Basic stamp, arduino and c++ when writing computer programs. My main concern is how to state and use an input or output. In examples I have seen I do not understand the inputs and outputs.

Topic by sotsirh194   |  last reply


need help with programming

Im new at programming microcontrollers and im trying to program an attiny13. i have the cradle and a USB Programmer but im really confused on how to add the code to the microcontroller. i tried to download a sample version here to test it out but i dont understand what im looking at (the code i want to test with is called test_leds.hex( this just makes the leds flash to test it) and its near the bottom under "pulling it together".i downloaded the WinAVR program which i believe is used to right the code and im using the notepad it came with to right the code but i dont understand how to transfer that code to the microcontroller and i cant seem to make it into a hex file.can anyone tell me what steps i need to take to program the attiny13? and how to use avrdude and to make hex files with winavr? i know its a lot to ask but i seriously want to learn how to do this.

Topic by KT Gadget   |  last reply


arduino uno programming?

I want a code in which as there is a change in resistance for sone millisecinds, arduino turns on led for a specific period of tie

Question by yhdesai 


Arduino as a programming project?

I decided to make something with Arduino as a school programming project, because it would be nice to learn something more complex than playing with LED arrays. The question is WHAT? It has to be a PROGRAMMING project, not an electronics one and therefore must be interesting and hard to do. Everything I can think of is a lot of electronics with some 50 lines of code at the end... Any ideas? 

Question by gruffalo child   |  last reply


Programming flash memory?

Hello Instructables community! I just purchased 10 Atmel AT49F040 flash chips off eBay (I couldn't buy just one..) and now I'm wondering how in the world I'm going to program them. I'm hoping to desolder the ROM chip from a Gameboy cart (yes, I'm using a tutorial) and replace it with this flash chip. It seems easy enough, but I'm not sure I want to spend $45 on a Willem Programmer.. Anyone have ideas for how to program on the cheap? Thanks, Derp

Question by Derpancakes   |  last reply


PIC Programming Software

I am just starting to get into PICs, problem is, I can't find a program. All these tutorials on PICs on Instructalbes talk about the hardware, but not very many talk about software. I am pretty fluent in VBasic/Basic so I would like a developer that works in that language or C/C++. I have PIC Prog, but that just downloads it. Anyway here's what I need help finding: -Free devolpment and compiler program -Preferably programs with Basic or C -Works with JDM2 programmers. Yes I have MCU experience, but it's been with an OOPic. I can't use it on everything so I am switching to PICs. Anyway if anyone can help me with software solutions, I'd really appreciate it.

Topic by gimmelotsarobots   |  last reply


BS2 programming with Arduino?

Is it possible to program a Parallax BS2 using arduino?

Question by MACKattacksnipe 


ATTiny85 programming error

Hi everyone, I'm having a bit of trouble with programming an ATTiny85 using an Arduino Uno.  I've previously been able to program them quite easily using the method shown here; http://highlowtech.org/?p=1695   I've tried using both a homemade programming shield and wiring a breadboard, but I get the same error each time; avrdude: Yikes!  Invalid device signature.          Double check connections and try again, or use -F to override          this check. I don't know what this means or how to fix it.  I know my wiring is good, the breadboard is at least quadruple checked and I have used the shield many many times before.  Any suggestions or ideas? ~Dudes

Topic by dudes   |  last reply


What is != in arduino programming? Answered

I found it in the DC motor test example from Adafruit Motorshield library. The line goes like this: void loop() {   uint8_t i;     Serial.print("tick");   myMotor->run(FORWARD);   for (i=0; i<255; i++) {     myMotor->setSpeed(i);      delay(10); I have no idea what it is pls help me.

Question by fahmed20   |  last reply


PIC24 programming troubles?

Hi, I have been working on a board with a PIC24FJ32GA002. The board had the correct voltages on the PIC's power pins (3V). I was able to program the pic one time successfully with my PICkit3, but every subsequent attempt has resulted in the following error message: Connecting to MPLAB PICkit 3... Firmware Suite Version.....01.29.33 Firmware type..............dsPIC33F/24F/24H Target detected Device ID Revision = 3046 The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0x2bff Programming... EEData memory Address: 0 Expected Value: 0 Received Value: 0 Calibration memory Address: 0 Expected Value: 0 Received Value: 0 Failed to program device I don't think the chip is fried since it still reads the device ID, but I have no idea what's going on with the EEData error. If anyone knows anything about this, that would be greatly appreciated. Thanks in advanced.

Question by Higgs Boson   |  last reply


servo programming on arduino?

Hi, i need a help on my arduino project. i need to make daily program my servo motor on arduino. for example; 23:00 at night ,it should turn right 90';  8:00 at morning, it should turn left(back) 90' also; when i need; i should turn this servo, left-right manually via internet. how can i make this, which component i should use, which commands i should use?  any tutorial, or samples like this? i found some examples on instructables like using servo via internet, Control a Servo over the Internet etc. but i dont know how make this two option together. ps my arduino level: intermediate  tI appreciate any help that you can provide :)

Question by herneise   |  last reply


HOMEMADE .NET PROGRAMS!!

Hello Instructables, I am currently making programs for people in VB.NET 2008 for $5 a program with an extra $5 for source code. If you would like a program email me at drmjj55@charter.net and I will email you further details. Yours in DIY, drmjj55 

Topic by drmjj55