Wednesday, June 28, 2017

How To Flashing walton primo n

  No comments


keyword : How To Flashing walton primo n for bootloop , How To Flashing walton primo n for softbrick , How To Flashing walton primo n for hardbrick , How To Flashing walton primo n Error Camera , How To Flashing walton primo n blank screen , How To Flashing walton primo n lost password , How To Flashing walton primo n stuck logo , How To Flashing walton primo n new 2017. How To Flashing walton primo n repair phone.




Download one of the above file:


Further to the next stage
1. Copy the file to Sd Card
2.boot into recovery mode, in the file already exists in the form of .pdf open a full tutorial and follow the instructions. anyone using flashing software.
3. When've followed all of the conditions please check the phone has been normal what is not.
4.Ciri EMMC feature of flashing not damaged in the road, still can wipe data cache. but install the update form sd card can not or will not runing.
5.booting first after install rom fair amount of time of approximately 15 minutes. Do not hurry to remove the battery. wait until the system finishes booting.

important: before doing anything on the phone to do the data backup beforehand. can pass CMW, recovery, twrp please find if you have not got.

How To Flashing walton primo n

hello everyone in this first video on c will be creating a project in in mplab x and then writing some c code to change a led on this led learning center from redto green. so get your fingers warmed up, it's time to write some c code. now i know i've done videos on this beforebut that was back when i did it usingassembly language. and since there are some majordifferences between c and assembly

i figured starting off with a simpleproject like this would be a good place to begin if you haven't already installed mplab x and xc8 then please take a few minutes to do that now and for those you have the software readyto go but no circuit, here's a schematic thatwill help you build your own circuit so you can follow along. will be using led one on the led learning center. this led is a two pin bi-color led thatcan turn

red or green. now let's go ahead andcreate a project. go ahead and start mplab x upand then create a new project. select: microchip embedded. select: stand-alone project. click next then either look at the pic you're usingor type in the name here and select it. click next. select the programmer you are going to use i'm using the pickit 3, also please notethat you can't program the pic16f1516 with a pickit 2. so if you're using one, you'll have to choose a mcu that can be programmed

by the pickit 2. click next. now select xc8 compiler you wishto use. now let's name the project "ledblink". to add the main c file to the project right click on the source files folder and select "new" and then "c main file". name the file "ledblink" and click finish.

the file we just created will appear inthe editing window. okay, so now that we havethe project set up and our main file ready to go it's time to start coding. so the firstthing you're going to do is configured configuration bits of ourmcu. to do this click on the "window" menu, then select "pic memory view" and then select "configuration bits". a new window will appear down below themain coding window and we'll be able to configure the pic theway we want it.

now, don't let all these options scare you. we're just going to modify a few things here and leave the rest at the defaultsettings. change fosc to intosc, this tells the mcu that will be usingthe internal oscillator to drive the mcu. and for the pic16f1516 the default internal frequency is 500 khz. set a watchdog timer to off low voltage programming to "off". now that we have the bits configured, click on "generate source code" option.

a new window opens up with generatedcode that we're going to add to our main file. press ctrl-a to selecteverything and then right click on the screen andselect "copy", now go back to the main file right click and select "paste". now that we have the configuration bits set up, we can start writing some code so let's start with changing our mainroutine and change the "int" here to "void" since we won't be returning a value when the program ends. and we will be passing a value to theroutine so let's remove the variables from betweenthe parentheses.

now let's add in some label declarations and the first is: #define led1_a, the "a" stands for anode, latb2. and the next one define led1_c, the "c" is for cathode, latb3. these are the two port pins that we havethis led tied too. next up, we'll create out system config routine, this is where i place

all commands that we'll do the initialconfiguration and the mcu. so type in "void system_config()" trisb = 0. now, add the subroutine "void led1_off ()" led1_a = 1; led1_c = 1; now you can also use zeros here as but it really doesn't matter. at the nrl 21 green function void and now let's add in our led1_green

led1_c = 0; next up: void led1_red() led1_a = 0; okay now let's add the code to ourmain function and that will consist of the followingcommands: system_config(); while(1==1) open bracket led1_green();

wait(); led2_red(); led1_off(); opps, that "led2" should be "led1". now we have to create the "wait" function that we're gonna call. so, go ahead go above main and add in void wait() __delay_ms(500); this will tell the processor to wait

half a second before changing the color ofthe led. now for this to work correctly we needto add this declaration that tells the compiler what frequency the mcu will berunning at. everything looks ready so let's compile and program the learning lenter and see how things look. okay, well we're getting colors but theled isn't turning off and it should be let's see what the problems is. ohh i see, there's no delay here after the led1_off(); command. so let's add the delay in and reprogram the pic

well, that solved the led off problem. but, the first color should be green and not red. this means i have the colorsreversed, so i need to fix that. so i'm going to cut the code from the red function and paste that into the green function. and then cut the code that was in the green and paste that in red. that'll fix the color reverse issue. let's re-compile and program the pic. yes, that did the trick, that looks much better. the bi-color led is under control and wecan use this code almost in any

situation we want to. that's it for this episode as always thanks for watching, take care andbe sure to rate, comment and subscribe write some c code to drive a led on this display... i almost had it there! arghhh!

No comments :

Post a Comment