hex? Answered

 please give me the hex file for this this is urrgent and if do this i follow you  i get a error when i compile it /*   Experiment No. 7: Playing Happy Birthday Tune with PIC12F683   Compile with MikroC Pro for PIC   Internal clock @ 4.0 MHz, MCLR disabled, PWRT OFF */ void Delay_100(){  Delay_ms(100); } void main() { CMCON0 = 7; TRISIO = 0b00001000; // GP5, 5 I/P's, Rest O/P's GPIO = 0; Sound_Init(&GPIO,2); // Initialize sound o/p pin do {    Sound_Play(262, 400); // Hap    Delay_100();    Sound_Play(262, 400); // Py    Delay_100();    Sound_Play(294, 800); // Birth    Delay_100();    Sound_Play(262, 800); // Day    Delay_100();    Sound_Play(349, 800); // To    Delay_100();    Sound_Play(330, 1000); // You    Delay_100();    Delay_100();    // Another Para    Sound_Play(262, 400); // Hap    Delay_100();    Sound_Play(262, 400); // Py    Delay_100();    Sound_Play(294, 800); // Birth    Delay_100();    Sound_Play(262, 800); // Day    Delay_100();    Sound_Play(392, 800); // To    Delay_100();    Sound_Play(349, 1000); // You    Delay_100();    Delay_100();    // Another Para    Sound_Play(262, 400); // Hap    Delay_100();    Sound_Play(262, 400); // Py    Delay_100();    Sound_Play(523, 700); // Birth    Delay_100();    Sound_Play(440, 800); // Day    Delay_100();    Sound_Play(349, 800); // Dear    Delay_100();    Sound_Play(330, 800); // XX    Delay_100();    Sound_Play(294, 700); // XX    Delay_100();    Sound_Play(466, 400); // Hap    Delay_100();    Sound_Play(466, 400); // Py    Delay_100();    Sound_Play(440, 700); // Birth    Delay_100();    Sound_Play(349, 800); // Day    Delay_100();    Sound_Play(392, 800); // To    Delay_100();    Sound_Play(349, 1600); // You $ $ $    Delay_ms(1000); // Wait for 1 sec and replay    }while(1); }

Asked by robot1398 6 years ago

HEX code?

Heres the asm file that i was trying to convert into HEX file but i was getting many errors by this software MPLAB IDE  Heres the asm file  https://www.instructables.com/id/3x3x3-LED-Cube/step2/The-software/  the code is in the zip file

Asked by robot1398 6 years ago

hex file?

I want the hex of this asm code but when u= i compile it in mplab ide it gives error 113 so how can i fix this or plz give me the hex file the asm code ;**************************************************************** ;* Name of Project: Flash A LED on RB0 *; ;**************************************************************** list P = 16f84 ;microcontroller identity ; e.g: 0x033 = hex value __Config 0x3FF5 ;**************************************************************** ;Program ;**************************************************************** org 0x00 ;start of program bsf status,rp0 ; select bank 1 movlw b'00001110' ; movwf option_reg bcf trisB,0 ; make bit,0 of Port B output bcf status,rp0 ;select programming area - bank0 movlw b'00000001' ; xorwf portB,f ; sleep end a simple program i wrote to blink an led 

Asked by robot1398 6 years ago

Will an ATMega88 compiled program work on an ATMega32 ?

I found a nice hex file for the ATMega88 but all i have is an ATMega32 ... will the hex made for the 88 work on mine ? Or is there at least a converter which will make the hex file be compatible with the atmega32?

Asked by Vladmakesstuff 8 years ago

I gots a computer question

Hey guys, I got a bit of a question to ask. I'm back at school and the school gave me a laptop to use (I'm in highschool) but it's one that doesn't have "their" school modified disk image on it with their crap like deepfreeze (resets the entire system each reboot) and of course, pretty much everything is cut out of the start menu and it's just generally shit (hence why I had removed the image and installed my own XP on it). Long story short, the tech teacher I was talking with said that (well actually he kept switching his story around) he had the wifi key written down somewhere but couldn't remember where he put it (suuurree). Then he told me a schoolboard admin was coming thursday (this past thurs) and the guy would set it up on my laptop for me. He did come but he never did anything for me, him and the teacher spent all day playing with some new photocopier they got. So yesturday I went on one of THEIR laptops (ironically it was said teacher's laptop he used in the school cept he wasn't there so I was able to use it). I went looking through the computer for where the wifi utility that both I and the school use for managing connection profiles and their keys instead of letting xp handle the wifi. Standard ibm software I got of their site. It appears that the keys are stored in the regristry and not in files, they're listed in folders for each profile. So what I did was save the directory of profiles (there was only one for the wifi). Now it looked like they were hex keys, and I'm pretty sure it is HEX but it's longer than what will fit in the settings for wifi in the ibm program. So I was wondering if the numbers are hashed or something so you have to crack the codes to access the actual hex key? If anyone knows how I can get the key out of the number I can send you the .reg file that I saved. I'm not trying to hack into the school, they know that I need access to it so I can print my work out but the tech teacher seems to be a dumbass (not to mention he looks like captain picard/mr.clean, a combo of both maybe?!!??!).

Posted by Punkguyta 10 years ago

On the sizing of nuts and bolts? Answered

When a hex nut is referred to as "X"mm, is that measured to the ridges of the thread (the green line on the image, or into the troughs of the thread (the extra red parts of the line)?

Asked by Kiteman 5 years ago

Help with Avrstudio

I am having trouble getting avr studio to export a hex file from a c file. I can only seem to to get a make file and a few other types. Does anyone have any instructions or know what I am doing wrong. I have windows with winavr.

Asked by sotsirh194 9 years ago

Is there anyway that someone could make me a .hex file from this .asm, or at least tell me how?

Hey, I have a .asm file. I have tried MPLAB, but I am not doing it right. ;-----------------------------------------------------------------------; ; BINCLOCK.ASM A clock that displays in bcd numbers ; ;-----------------------------------------------------------------------;         LIST P=16F84 ; tells which processor is used         INCLUDE "p16f84.inc" ; defines various registers etc. Look it over.         ERRORLEVEL -224 ; supress annoying message because of tris         __CONFIG _PWRTE_ON & _LP_OSC & _WDT_OFF ; configuration switches             CBLOCK 0CH                 sec ; seconds digit                 sec10 ; 10's of second digit                 mins ; minutes digit                 min10 ; 10's of minutes digit                 hr ; hours digit                 hr10 ; 10's of hours digit                 w_temp ; holds W during interrupt                 status_temp ; holds STATUS during interrupt                 fsr_temp ; holds FSR during interrupt                 button ; holds mask for pushbuttons               ENDC ;-----------------------------------------------------------------------; ; Here are some DEFINEs which give 'names' to pushbutton port bits ; ;-----------------------------------------------------------------------;             #DEFINE SETPB PORTB, 4             #DEFINE SELECTPB PORTB, 5             #DEFINE SHOWPB PORTB, 6             ORG 0 ; start at location 0             goto main ; jump over to main routine ORG 4 goto isr ; jump to interrupt routine ;-----------------------------------------------------------------------; ; High limit + 1 of digits at position W ; ;-----------------------------------------------------------------------; sethi: addwf PCL, f dt H'A',H'6',H'A',H'6',H'A',H'3' ;-----------------------------------------------------------------------; ; Delay routines ; ;-----------------------------------------------------------------------; msec250: ; enter here to delay for 250 milliseconds movlw D'250' nmsec: ; delay for # msec in W on entry nop ; each nop is 0.122 milliseconds nop nop ; each total loop is 8 X 0.122 = 0.976 msec nop addlw H'FF' ; same as subtracting 1 from W btfss STATUS, Z ; skip if result is zero goto nmsec ; this is 2 X 0.122 msec return ; back to calling point ;-----------------------------------------------------------------------; ; Delay for one second ; ;-----------------------------------------------------------------------; onesecond: ; a subroutine that delays for 1 seconds call msec250 call msec250 call msec250 call msec250 return ;-----------------------------------------------------------------------; ; Put value in W on LEDs for 1 second ; ;-----------------------------------------------------------------------; sendnbr: movwf PORTB ; light LEDs call onesecond ; wait 1 second clrf PORTB ; clear the LEDs movlw D'100' ; pause for 0.1 sec call nmsec return ;-----------------------------------------------------------------------; ; Send the current time out LEDs ; ;-----------------------------------------------------------------------; disptime: movf hr10, W call sendnbr movf hr, W call sendnbr movf min10, W call sendnbr movf mins, W call sendnbr return ;-----------------------------------------------------------------------; ; Wait until selected button is released ; ;-----------------------------------------------------------------------; waitup6: ; wait for show pushbutton up movlw B'01000000' ; RB6 mask movwf button goto wait waitup5: ; wait for select pushbutton up movlw B'00100000' ; RB5 mask movwf button goto wait waitup4: ; wait for set pushbutton up movlw B'00010000' ; RB4 mask movwf button wait: movf button, W ; mask into W andwf PORTB, W btfsc STATUS, Z ; skip if not zero (released) goto wait movlw D'10' call nmsec ; wait 10 msec for debounce movf button, W ; check for release again andwf PORTB, W btfsc STATUS, Z ; skip if selected button released goto wait return ; yes, finished ;-----------------------------------------------------------------------; ; Initilization Subroutine ; ;-----------------------------------------------------------------------; init: movlw B'0000000' ; all outputs port A tris PORTA movlw B'01110000' ; RB4 - RB6 inputs, others outputs tris PORTB ; on port B movlw H'0' ; all low (off) movlw PORTB movlw B'00000100' ; pull-ups enabled ; prescaler assigned to TMR0 ; prescaler set to 1:32 ; rolls over each second option movlw 0 movwf hr10 movlw H'9' ; initialize hrs, mins and secs movwf hr ; Do this before interrupts are movlw H'5' ; turned on because isr also acts movwf min10 ; on these registers movlw H'0' movwf mins movwf sec10 movwf sec movlw B'10100000' ; GIE & T0IE set, T0IF cleared movwf INTCON return ;-----------------------------------------------------------------------; ; Interrupt routine, increments time by one second (BCD) ; ;-----------------------------------------------------------------------; isr: movwf w_temp ; save W swapf STATUS,W ; save status movwf status_temp ; without changing flags swapf FSR,W ; save FSR movwf fsr_temp ; without changing flags movlw sec ; point at sec register movwf FSR newdigit: incf INDF, f ; current digit up one movlw sec ; get difference between sec and FSR subwf FSR, W call sethi ; use to get high limit + 1 subwf INDF, W ; reached that number yet? btfss STATUS, Z ; skip over if yes goto restore ; else exit isr clrf INDF ; set current digit to 0 incf FSR, f ; point at next digit btfss hr10, 1 ; has hr10 reached 2? goto newdigit ; no, increment the next digit btfss hr, 2 ; has hr reached 4? goto newdigit ; no clrf hr ; yes, set hour to 00 clrf hr10 ; and hour 10 restore: swapf status_temp,W ; get original status back movwf STATUS ; into status register swapf fsr_temp,W ; get original fsr back movwf FSR ; into status register swapf w_temp,f ; old no flags trick again swapf w_temp,W ; to restore W bcf INTCON,T0IF ; clear the TMR0 interrupt flag retfie ; finished reset GIE ;-----------------------------------------------------------------------; ; Increment and display digit pointed to by FSR ; ;-----------------------------------------------------------------------; updigit: incf INDF, f ; selected digit up one movlw mins ; set up to subtract mins address subwf FSR, W ; from address of current digit call sethi ; get maximum of digit + 1 into W subwf INDF, W ; is it = to current digit value? btfsc STATUS, Z ; gives zero if yes, skip if no clrf INDF ; reset value of digit to zero movf INDF, W ; get current value and .. movwf PORTB ; display it call onesecond ; pause for 1 second return ;-----------------------------------------------------------------------; ; increment selected digit until select pressed ; ;-----------------------------------------------------------------------; setdigit: movwf PORTB btfss SETPB ; set pressed? call updigit ; yes btfsc SELECTPB ; check if select pressed goto $ -3 ; repeat till select pressed again call waitup5 ; make sure select released incf FSR, f return ;-----------------------------------------------------------------------; ; Select and increment digits ; ;-----------------------------------------------------------------------; select: bcf INTCON, GIE ; no interrupts while setting time movlw mins ; point at minutes register movwf FSR call waitup5 ; wait on select pushbutton up movlw B'00000001' ; light right LED (mins) call setdigit movlw B'00000010' ; light min10 LED call setdigit movlw B'00000100' ; light hr LED call setdigit movlw B'00001000' ; hr10 LED on call setdigit clrf PORTB ; clear LEDs bsf INTCON, GIE ; enable interrupts again return ;-----------------------------------------------------------------------; ; The main routine ; ;-----------------------------------------------------------------------; main: call init ; set up initial conditions loop: btfss SHOWPB ; check for show pushbutton call disptime ; display the time btfss SELECTPB ; check for select call select goto loop ; do forever end     

Asked by 16zzundel5 6 years ago

Can you take hexbug sensors and use them for arduino?

I am getting an arduino, and have an old hexbug. I wan't to know if i can use the bugs sensors on the arduino, and how.

Asked by Mandorian 5 years ago

Best way to host svg, stl, source code, other files for an Instructable

I've got several Instructables that explain how to move from a computer file (3d model or Illustrator file) to physical object (3d print, laser engraving, etc.) I would love to be able to put a link to those files in the body of the Instructable itself, so any reader could download them and use them freely. Similar comment for code snippets; inline code works (with careful editing) but it isn't optimal for longer bits of code.

Posted by nomuse 4 years ago

Convert "C" code in to hex

Hello I want to built this binary watch but the code is in "C" here is code and i dont know to programm with this kind of code,cam someone convert the code in to hex please,and the micrchip is PIC16F688.

Asked by macobt 8 years ago

radio waves for a long range

How to create something for transmitting and receiving radio waves with data(binary code or hex code) for a long range and work with pc? or what material(device) i need for doing it. if have a idea write it. thanks in advance

Asked by HosseinJ4 1 year ago

Broke a torx screwdriver in a recessed hex bolts. Removal?

So I was tinkering with the rear suspension of my new GT LTS bike, where I'm going to fit a monster 8.5x2.5 Fox RP shock in place of the standard 5.25x1 shock. When tightening it back up, I learned the meaning of "the right tool for the right job" I used a torx driver instead of a hex key, and it snapped inside. At this point, I don't know how to handle it. I've tried all unobtrusive methods that I know of. Melted hot glue, magnet, banging on the opposite side with a center punch and hammer.. nothing freed it. Problem is it's twisted, and that's holding it in. I figured i'd ask the pros for advice. Picture attached. I'm thinking I may have to drill it out, tap it with a left hand thread, screw that in, and screw the messed up bolt out. Then my only problem is finding a replacement.

Posted by cvxdes 9 years ago

Unable to download Hex and C files

I am trying to download a few .Hex files and all I keep getting is .tmp files. Does anyone have any suggestions? -- Todd

Posted by toddbg 7 years ago

Convert C code into hex?

 I need some to convet this code into hex,The microchip is PIC16F688 and for more information i want to built this project.

Asked by macobt 8 years ago

.HEX file to USB port? Answered

Lets say I have a .HEX file that looks something like this; :100000000EC01DC01CC01BC01AC019C018C017C02C :1000100016C015C014C013C012C011C010C01124E6 :100020001FBECFE5D2E0DEBFCDBF10E0A0E6B0E05E :1000300001C01D92A136B107E1F702D0C6C0E0CFE2 :1000400080E090E0ACD081708093600004B600FE48 :100050000AC081E084BF60916000682760936000FF :1000600080E090E0A4D0B89AB99ABA9ABB9ABC9AA8 :1000700061E042E034E028E090E18091600081306E :1000800009F046C058B3592758BB59E979E9E1E06E :1000900051507040E040E1F7000058B3592758BB79 :1000A00058B3522758BB59E979E9E1E05150704003 :1000B000E040E1F7000058B3522758BB58B353272C :1000C00058BB59E979E9E1E051507040E040E1F76F :1000D000000058B3532758BB58B3542758BB59E9AD :1000E00079E9E1E051507040E040E1F7000058B399 :1000F000542758BB58B3582758BB59E979E9E1E070 :1001000051507040E040E1F7000058B3852745C0EA :1001100088B3862788BB59E979E981E0515070405E :100120008040E1F7000088B3862788BB88B3842726 :1001300088BBE9E959E971E0E15050407040E1F7CE :10014000000088B3842788BB88B3832788BB89E9EC :10015000E9E951E08150E0405040E1F7000088B308 :10016000832788BB88B3822788BB79E989E9E1E0E6 :1001700071508040E040E1F7000088B3822788BBDF :1001800088B3892788BB59E979E981E051507040EB :100190008040E1F7000088B3892788BB6ECFE199E2 :1001A000FECF9FBB8EBBE09A99278DB30895262F73 :1001B000E199FECF1CBA9FBB8EBB2DBB0FB6F89446 :0E01C000E29AE19A0FBE01960895F894FFCFDF :00000001FF And I need to send that to a USB port.  What is the best way to do this?  I have an little app that will let me send data to my USB port of choosing, but I have to type this thing out by hand, 2 characters at a time, hit enter, rinse and repeat, and then after its all entered, click send data.  That worked fine for sending a few bytes to test some hardware to verify data sent back form the device was correct and that it was receiving the data correctly, but that won't work here, for obvious reasons.  Is there some sort of free software I can download to shove .HEX files through a USB port?  I am sure there are, but I can't find any, Google is not being kind to me today.

Asked by Electric Spectre1 1 year ago

How to convert IR hex codes to IR time codes for TV-B-Gone?

Hi, I was trying to add an IR code to the TV-B-Gone library since it was not able to turn off one of my TVs, so I found the code I needed/wanted to test here (http://www.remotecentral.com/cgi-bin/mboard/rc-discrete/thread.cgi?6824) however the code formating is not the same as the formatting in the TV-B-Gone library. For example, a power code on the site is in hex: 0000 006b 0022 0002 015b 00b1 0014 0018 0014 001a 0012 0019 0013 0018 0016 0017 0014 0018 0013 0044 0013 0018 0015 0042 0014 0043 0014 0043 0014 0043 0013 0043 0015 0042 0014 0018 0014 0043 0014 001a 0012 0043 0016 0042 0013 0043 0015 0042 0014 0043 0014 0043 0016 0016 0014 0042 0014 0019 0015 0017 0014 0018 0014 0018 0014 001a 0012 0018 0014 0043 0015 061a 015b 0059 0014 0e93 but a code in the TV-B-Gone library is not: const struct powercode sonyCode PROGMEM = {   freq_to_timerval(37470), // 37.47 KHz    {{245, 60},    {123, 60},    {61 , 60},    {123, 60},    {61 , 60},    {123, 60},    {61 , 60},    {61 , 60},    {123, 60},    {61 , 60},    {61 , 60},    {61 , 60},    {61 , 2759},    {245, 60},    {123, 60},    {61 , 60},    {123, 60},    {61 , 60},    {123, 60},    {61 , 60},    {61 , 60},    {123, 60},    {61 , 60},    {61 , 60},    {61 , 60},    {61 , 0}// end of code and I was wondering if there was a way to convert the hex codes into codes usable by the TV-B-Gone library? Any help or tips would be appreciated, thanks.

Asked by psp3601 4 years ago

Have someone the asm ore hex code for 3x3x3 led cube for the pic 16F690?

Have someone the asm ore hex code for 3x3x3 led cube white pic 16F690

Asked by cyberjones 8 years ago

Makefiles and Hex files

I am sorry for my stupidity but I am no AVR programmer. Here is my trouble. I am not so sure how to create a makefile in winavr or a hex file from some source code that I have. Whenever I do have code, it already has the makefile and the HEX file. Also, if you edit source code is the HEX file going to change too or will it stay the same? I noticed, that although an ATtiny85 is supposed to be compatible with the ATtiny25 when I try to program code into an ATtiny85 with ATtiny25 it doesn't work. Is there a place I change it to work with the ATtiny85...?

Posted by blinkyblinky 6 years ago

Makefiles and HEX files?

I am sorry for my stupidity but I am no AVR programmer. Here is my trouble. I am not so sure how to create a makefile in winavr or a hex file from some source code that I have. Whenever I do have code, it already has the makefile and the HEX file. Also, if you edit source code is the HEX file going to change too or will it stay the same? I noticed, that although an ATtiny85 is supposed to be compatible with the ATtiny25 when I try to program code into an ATtiny85 with ATtiny25 it doesn't work. Is there a place I change it to work with the ATtiny85...?

Asked by blinkyblinky 6 years ago

Does Arduino IDE1.0 save compiled hex files after it loaded the sketch? Where to?

I'd love to have the hex file that the compiler creates so I can load it later with avrdude. No further editing will be done, so I don't really need the IDE - can do it from command string. I've looked and looked and can't find the hex files. How come? Does IDE delete them after they're uploaded? Thanks!

Asked by elabz 6 years ago

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?????

Asked by robot1398 6 years ago

burning a hex using arduino isp

I had programmed attiny with arduino via arduino as isp . I was programing with atmel studio for a while and wanted to burn the hex file to a chip using arduino isp. i tried a lot but always  was unsuccessful  stk500_getsync(): not in sync: resp=0x00 popped  ny idea how to get rid of this and program it

Posted by geekrex 2 years ago

Word .doc vanished? Answered

Reference any solution please ... Early version of word.   Not a docx. It cant be found in a dos search. Is there good hex editor I can try?  I’m not familiar with hex editors but I’ve heard its the way to go. Any point trying a data recovery tool like easy data recover or NTFS recovery tool rather than a hex editor? Thanks.

Asked by BlancoVenegas 2 years ago

Need to make sure HEX file is correct that you have?

I am in the start of the build for the laser show and trying to get all my parts ordered. Is the HEX file that you have available to download correct? I can trouble shoot everything but the chip. I am downing this for a class project and don't want to get to a point where my hands are tied. I have spoken with Digikey and they are willing to program the chip as long as I have the correct HEX file to send them. Would you please email me at adaws845@cougarmail.cccc.edu ?

Asked by adaws845 8 years ago

Help, Where do you put the hex files to flash to the chip in avrdude.

Whenever I put It in the C:/ drive and try to upload the program it says no such file or directory?

Asked by sotsirh194 9 years ago

Problems programming PIC 16F648A with progPIC 2009

I recently bought a PIC programmer kit from www.velleman.be and tried to program a hex file to a PIC 16F648A and it keeps failing. I have a suitable power supply, an RS 232 cable connected directly to a computer (no usb to rs232 convertor) and it is in program mode, and it is inserted the right way round. I tried programming the included PIC with the included demo hex file and it works fine. However, when I import my hex file, it shows the last set of characters as random ones (not letters or numbers) so it looks like there is something wrong with my hex file. Do I have to compile it differently to work with PICs, and how would I convert this?

Asked by andy70707 8 years ago

Oops, you're hex is showing

Looks like the ad banner next to the topographical hand is not translating the weird charaters (BZh91 ... lozenges (etc)). Also, same problem on the main page, a bit lower and to the right, ah there yes. Don't wan't you to lose your sponsers. Other than that, keep up the good work.

Posted by RonGarza 9 years ago

8051micro controller programming

Hi friends.................... i am working with 8051micro controller programming,I have created HEX file using  keil C compiler and proload to burn the HEX file in to the micro controller .iam using serial communication BUT ...........MY computer is not detecting the programmer nor micro controller.........why?...............is there something wrong  with my PC ?

Asked by sunil sheth 6 years ago

how to programme a PIC16F84?

While programming a PIC16F84 do we have to enter the hex file or asm file or any other

Asked by robot1398 7 years ago

How do I hexedit gold in Oblivion for the Xbox 360? I have the tools, I just need to know how to do it.

 I have a Data Migration Kit, Xport 360, a hex editor, a rehasher/resigner, and anything else I'd need.  I just need to know how to find/change the hex value.

Asked by shield1123 8 years ago


Have someone the asm ore hex code for 3x3x3 led cube for the pic 16F690?My pic's16f890 but my asm code's for 16f628..i need 16f690's asm code

Asked by TURKER 8 years ago

Who likes my new avavtar?

Personally, I really like my new avatar. Isn't it pretty? Feel free to use my avatar, if you want. It's hex-tastic!

Posted by carbon 11 years ago

Arduino infa-red jammer?

Does any one have the code for a arduino based IR jammer i can also just use a .hex file to go straight on the atmega 168 or 328p 

Asked by bigbodysmallbrain 7 years ago