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 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 last
Fyo Fredden
FyoFredden

posted on 2014/11/24 04:03:33 PM CET

Motor Control

Key Words :: ADC, PWM, Servo, LCD

Key Words : ADC, PWM, Servo, LCD
I want to know the code of this Basic Algorithm.
Is it possible fixing Servo at specified angles according to Analog input value ?
I wonder it requires Internal Interrupts or anything else to do it all.
It was easy to browse PIC codes of controlling Servo, but hard to get some other codes of controlling it even here.
I hope someone else who are better than me to give some tips.
Thanks alot (in advance).

Vijay Sahasrabudhe
vnsbudhe

posted on 2014/11/23 10:32:15 AM CET

Motor Control

3 Phase AC Motor Speed controller

I am looking for 3 phase AC motor controller for EV application using any PIC micro controller and KIKROC

Paco Sanchez
paco23

posted on 2014/11/19 02:38:15 PM CET

Communication

Program a ATtiny24 using the milkromC with the programer mikroProg for AVR

Hi I'm trying to program a ATtiny24 by mikroBASIC using a mikroProg for AVR programer.
can someone send me a sample project it please or help in order to modify some example project for the mine ?
I use the example for the ATmega16 provided for mikroBASIC the micro was programmed but then I lost communication I I feel this damage I put another new micro and this has communication with the mikroProg for AVR.
Thanks.
Francisco,

mah kh
lindodv

posted on 2014/11/14 08:42:23 AM CET

Communication

reading EM-18 with mikroc

I need a code for communication between EM-18 and PIC16F877

Pat Jackson
pmjackson

posted on 2014/11/10 01:37:04 AM CET

Communication

USB GENERIC HOST for USB GSM MODEM ---- How to setup send receive AT commands EP's?

Using USBHost_dsPIC Library and some of the following code, My USB MODEM ENUMERATES...

Could someone help me setup Call Backs to Send AT Commands to Modem?
I have done this with Microchips Generic Host using C Library...
Trying to transition to MikroBasic for this and other functionality.

Thanks



sub procedure USB1Interrupt() iv IVT_ADDR_USB1INTERRUPT
USBHost_IntHandler()
end sub

sub procedure EventHandler(dim event as byte)
select case(event)

case _USB_HOST_EVENT_DEVICE_ADDRESSED
UART2_Write_Text("Host Addressed")
UART2_Write(13)
UART2_Write(10)


case _USB_HOST_EVENT_DEVICE_CONNECTED
UART2_Write_Text("Host Connected")
UART2_Write(13)
UART2_Write(10)
case _USB_HOST_EVENT_DEVICE_DISCONNECTED
UART2_Write_Text("DisConnected")
UART2_Write(13)
UART2_Write(10)
case _USB_HOST_EVENT_DEVICE_ENUMERATED
UART2_Write_Text("Device Enumerated")
UART2_Write(13)
UART2_Write(10)
speed=11
speed = USBHost_GetDeviceSpeed()
USBHost_InitEp(0x02)
if speed = _USB_HOST_SPEED_LOW then
Uart2_Write_Text("The Device is Low Speed")
UART2_Write(13)
UART2_Write(10)
end if

if speed = _USB_HOST_SPEED_FULL then
Uart2_Write_Text("The Device is FULL Speed")
UART2_Write(13)
UART2_Write(10 )
end if

case _USB_HOST_EVENT_HOST_ERROR
UART2_Write_Text("Error")

end select
end sub



USB1IE_bit = 1 ''important set USB interupt bit
USBHost_RegisterDeviceEventHandler(@EventHandler)

USBHost_Init()

while TRUE
' LATB.15 = not LATB.15 ' Invert PORTB value
USBHost_Main(

wend


first | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 last