Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Sort By

USER REQUESTS

first | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 last
Chibundu Ogbonnia
Dumken

posted on 2015/03/16 11:30:54 AM CET

Communication > Light control

Scrollable Dot Matrix Display

Hi. Good day guys. Pls can anyone help me with the 8x8 scrollable message for "GOOD MORNING"

SeongJong Gwak
Myksj

posted on 2015/03/14 06:52:43 AM CET

Measurement

Mikromedia for STM32 M4

Mikromedia for STM32 M4,

I want Digital I/O line Reading & Writing.
I want Analog I/O line Reading & Writing.


example.

Writing : 1(VDD,Data) → PortD1
Writing : Analog Signal → PortD1
Reading : PortD2 → 1 or 0
Reading : PortD2 → ADC

I want to coding file.

Please help me.

myksj@withlight.com

durmuş akçam
entegre46

posted on 2015/03/12 08:14:59 AM CET

Timers (Real time clock)

hc595

I want to make a counter using 9999 hc595 Thank you in advance for your help with mikroC but could not figure out the logic hc595

Carlos Bernardes
carlosb.

posted on 2015/03/09 01:26:38 AM CET

Graphics & LCD > OLED

matrix 8x8+max7219+Sound+Uart

I would like to make available using the MAX7219 example with 7 segments
button and sound or watch would be very useful to learn
tried to put together the sound matriz8x8 but is catching all need some more examples of a conjugate function have a pic Easy v7, thank you!



*/
#define IMG_SIZE 20
#include "8X8 FONT.h"
#include "LED_Driver.h"


// Serial 7-seg Display connections
sbit sfr Chip_Select1 at RE0_bit;
sbit sfr Chip_Select_Direction1 at TRISE0_bit;

sbit sfr Chip_Select2 at RA5_bit;
sbit sfr Chip_Select_Direction2 at TRISA5_bit;
// Serial 7-seg Display connections



char i;
const unsigned char intro[] = " mikroElektronika 8x8Rclick"; // Text to display
void main() {
SPI1_Init(); // Initialize SPI module
max7219_init(1); // initialize max7219
max7219_init(2); // initialize max7219

slide_text_double(intro); // Text slide animation

while(1){
for(i = 0 ; i < IMG_SIZE ; i++){ // Play graphical sequence forward
display_image_const(img1[i], 1);
display_image_const(img2[i], 2);
Delay_ms(120);
}
Delay_ms(600);
for(i = IMG_SIZE-1 ; i > 0 ; i--){ // Play graphical sequence backward
display_image_const(img1[IMG_SIZE-1-i], 1); // Reverse and play forward 8x8 R click in first mikroBUS socket
display_image_const(img2[i] ,2);
Delay_ms(120);
}
}
}

THIS TYPE


Hello !, Cool would like to see a change
message by the computer, a sound beep type like this:

void Melody() { // Plays the melody "Yellow house"
Tone1(); Tone2(); Tone3(); Tone3();
Tone1(); Tone2(); Tone3(); Tone3();
Tone1(); Tone2(); Tone3();
Tone1(); Tone2(); Tone3(); Tone3();
Tone1(); Tone2(); Tone3();
Tone3(); Tone3(); Tone2(); Tone2(); Tone1();
}


or type this:

UART1_Init(4800); // initialize UART1 module
Delay_ms(100);

while (1) {
if (UART_Data_Ready() == 1) { // if data is received
UART_Read_Text(output, "OK", 10); // reads text until 'OK' is found
UART_Write_Text(output); // sends back text
}
}

thank you!

dinusha kothalawala
dinusha

posted on 2015/03/07 05:21:45 AM CET

Audio & Speech

50 hz pwm atmega 16

i want to simple 50hz code for atmega 16
without library alredy i have code but it not wirking

void main()
{
//Configure TIMER1
TCCR1A|=(1<<COM1A1)|(1<<COM1B1)|(1<<WGM11); //NON Inverted PWM
TCCR1B|=(1<<WGM13)|(1<<WGM12)|(1<<CS11)|(1<<CS10); //PRESCALER=64 MODE 14(FAST PWM)

ICR1=4999; //fPWM=50Hz (Period = 20ms Standard).

DDRD|=(1<<PD4)|(1<<PD5); //PWM Pins as Out

while(1)
{

OCR1A=97; //0 degree
Wait();



}

first | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 last