Questions tagged [library]

169 questions
32
votes
5 answers

C standard libraries on bare metal

I am mostly doing development on devices that have ported Linux so the standard C library provides lots of it's functionality through implementing system calls which have a standardised behaviour. However for bare metal, there is no underlying OS.…
TheMeaningfulEngineer
  • 961
  • 3
  • 11
  • 25
12
votes
4 answers

SSL from a Microcontroller

I am wanting make an embedded device that can communicate with a web-server in a secure fashion. My preference would be for it to use standard SSL so the web-server views my device similar to a web browser. Are there any prebuit libraries for the…
Kellenjb
  • 17,509
  • 5
  • 51
  • 87
11
votes
3 answers

Programming for the Arduino without the Arduino IDE.. but with the provided libraries?

I recently started a new project using my Arduino that's been collecting dust for a while. Along with the physical board collecting dust, so has my copy of avr-gcc and the Arduino libraries. I can manage updating avr-gcc, but I can't remember how I…
Earlz
  • 3,346
  • 15
  • 46
  • 66
11
votes
5 answers

Do open source libraries exist for VHDL the way they do for C++ or python?

When I'm approaching a problem in C++ or python, there are many libraries that exist which do the heavy lifting of my code. I'm thinking about GNU GSL, BOOST, or FFTW for C++, and NumPy or SciPy for python. In many ways, the fact that these…
Sam
  • 135
  • 1
  • 7
10
votes
1 answer

Altium Default Font

I want to change all default fonts of Altium to Arial, specifically in the Schematic. Right now they are Times New Roman. I changed my system font in my template but that doesn't seem to effect the components used in the schematics which make up 99%…
ptoupin
  • 101
  • 1
  • 4
9
votes
2 answers

Adding Photodiode to LTspice

I am very new to LTspice. I would like to ask "How can I add a photodiode in the Ltspice?" Is ideal photodiode (or any specific) model already included in the LTspice or do I need to create third party model for photodiode? If it is already…
Sui
  • 171
  • 1
  • 2
  • 5
9
votes
1 answer

Conventional way to manage and use the libraries in Altium

I guess I have been always doing it wrong way because I don't have to use Altium so often. Whenever I start a project I create a schematic library (*.schlib) and a PCB library (*pcblib). And then I copy the symbols and footprints from other projects…
zud
  • 1,746
  • 6
  • 25
  • 42
8
votes
1 answer

What should I know when making a library for the Arduino?

It occurs to me that, beyond my current problem, I ought to ask, "What should I know when making a library for the Arduino?" First, what I am doing: I'm using Eclipse as my editor and writing code in C++. I have written a simple Arduino application…
Clinton Blackmore
  • 2,270
  • 1
  • 22
  • 23
8
votes
1 answer

How do I create a static library for the AVR Atmega328p?

I am attempting to create a library much like the Arduino in C. I have tried in the past and although I have lost the code, I remember simply getting loads of undefined references to functions specified in the header files and in the library which…
Will03uk
  • 203
  • 3
  • 5
7
votes
2 answers

Arduino Libaries folder

Where do i put the Arduino "Library" folder on a Mac?
mad_z
  • 5,050
  • 5
  • 45
  • 56
7
votes
1 answer

How to make an Arduino play a sound

What is the best way to make an Arduino play a sound file? Is there a code library or shield I would need? How would I store this sound file on the Arduino's chip? Is isn't very big, so I would be concerned doing this.
wil
7
votes
2 answers

Creating a component library which includes distinct elements

I'm learning custom library design in Altium Designer. I designed several libraries so far (BJTs, resistors, capacitors, etc), all worked without any problem. This time I tried to design an IC package (TL082 Opamp) which contains two distinct…
hkBattousai
  • 13,913
  • 31
  • 114
  • 190
7
votes
2 answers

How do I build and use my own VHDL library?

I am trying to create a components library in VHDL. I have many .vhd source files with different components. Ideally I would like to be able to instantiate them in a design using the same method as a standard library.(or similar) example: library…
Hayden DeBoer
  • 71
  • 1
  • 1
  • 3
6
votes
2 answers

IR Remote code for Arduino

I've just hidden away our entertainment centre electronics including our Infrared controlled DVD Player, Amp and Mac Mini . I was wondering if there is any IR Remote code for Arduino, that I can use to eventually control the entertainment centre. I…
littlebirdceo
  • 4,697
  • 8
  • 41
  • 61
6
votes
6 answers

Altium: One resistor, or multiple resistors on your lib?

How you deal with resistors and capacitors in Altium? If you have a single resistor/capacitor, it is easy later to change values, etc, but how do you deal with the BoM later? But, if you have different components, i think it is a nightmare!! there…
Javier Loureiro
  • 923
  • 2
  • 12
  • 20
1
2 3
11 12