Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I'm having trouble finding anything that tells me how to access C variables from inline assembly in C18. Sure, I realise that you just use the C variable name in the assembly - but what about knowing the bank number of the variable?
Cheers.
Protel Pad Holes
Does anyone know how to make Protel 99 SE put holes in the middle of the copper on pads? These would be very useful for drilling the PCBs by hand...
Does anyone know how the fast oscillators for pc processors work? They tend to use crystals, but that's all I know about them. Does anyone have any documents regarding crystal oscillators?
free Pic Programmer
The JDM (**broken link removed**) pic programmer works quite well. It only requires a few diodes and a transistor. It supports most 12 and 16 series pics that can be programmed using ICSP.
Re: Shift in C language
Yes. (note that i've used the uintN_t group - similar to intN_t, but unsigned). If you want it in a struct then put the array in a struct...
Note: Some of the previously mentioned examples may actually work in some compilers, but not necessarily in most. This one should...
Re: Shift in C language
There's a group of types with names of the form intN_t, where N is the number of bits required for an integer. The legal values of N are 8, 16, 32 and 64. Some compilers implement 24. It's highly advisable to use these types if you want a specific size of variable.
The...
You tend to find that the microcontrollers are only low power when they're clocked at relatively low frequencies. The MSP430 range from TI is rated at a very low speed for its 125uA current consumption...
c language union imagecraft
If you have a three byte array in the struct instead of the separate unsigned chars then you'll use less memory. This is because the compiler will align the unsigned chars in the struct to 2 byte boundaries. It also makes it more convinient if you want to increase...
Re: 90 degres phase shifter
You could use an integrator (a.k.a. ramp generator) op-amp circuit. That would give you a wave that's 90 degrees out of phase with the input i think.
Re: Draw a Line
The link seems to work fine from here. You might have done something with capitalisation or something. I've mirrored the page **broken link removed**. (I haven't mirrored the Java though)
lph7366 avr
I'd like to point out that the PCD8544 controller (found on some nokia LCDs, e.g. 5110 in the LPH7366 module) runs at 2.7V. It's documentation specifies that the maximum input voltage level that it can withstand is VCC + 0.5V.
If you want to connect the device to a PIC running at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.