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 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 last
Gregory Omond
gomond

posted on 2015/02/12 02:01:20 AM CET

Communication

Texas Instruments open ZNP library ported to Mikroc and CC2530 or CC2538 Click board (IOT Rocks)

Hi
If you guys created some CC2530/2538 Zigbee Clicks loaded with TI ZNP and ported their freely available ZNP API/Library to Mikroc.
The you would really rock. As this leaves the stupid Xbee stuff for dead and is Zigbee Pro compliant.

Everyone hates using IAR (Norwegian for thief) to compile stuff as it is expensive and ugly not like MikroC which is awesome.

IOT is big and Zigbee is big.

You Guys are on the cutting edge, show them how its done.....

Kyaw Lin
kyawkyawlin

posted on 2015/01/27 04:53:27 AM CET

Communication > Bluetooth®

how to know disconnected condition of bluetooth ?


Hi!
I would like to know about bluetooth.There are connected with MCU and bluetooth 2 stick and bluetooth connected with my phone in my project. I would like to know the Micro C program code if there are disconnect the bluetooth from MCU and Phone .

jeewan shrestha
jshrestha1

posted on 2015/01/21 06:05:04 AM CET

Communication

stmpe 610/resistive touch screen

did any body have use resistive touch screen controller STMPE610 ? i need help to code this controller to pull out data form 4 resistive touch screen. This stmpe will then connect to FPGA board (nexys3). The main brain here is nexys. i want to code in EDK software provided by xilinx . Help will be appreciated! we really need this.

Bogi Bogatinov
bogi

posted on 2015/01/15 06:53:56 PM CET

Communication > Ethernet

Ethernet

Need Ethernet_sendTCP like function compatible with standard Ethernet PIC18FxxJ60 Library because I already got code working with this library. Network Ethernet Internal Library from libstock is not compatible with my code.
Thanks.

Paul Kimmens
pkdj

posted on 2014/11/30 03:55:29 PM CET

Communication

clicker2 and rs232 click

hi

I'm trying to get an RS232 click board working with a clicker2 board using microbasic.

My code is as as below. I don't get anything out of the serial port. It's just a very simple program to start with to get the 232 click working before I move onto more complex code. Within the code I also have a bit of code to turn on an led when a button is pressed and that all works OK. It's probably something very simple that I've not done but I can't spot it. Have looked at rs232 click examples and can't see what I am missing

Thanks

Paul





program RF_Wind_Monitor_Transmitter




' pin definitions
dim LD1 as sbit at LATD4_bit 'left hand LED
dim LD2 as sbit at LATE4_bit 'right hand LED
dim LD1_Direction as sbit at TRISD4_bit
dim LD2_Direction as sbit at TRISE4_bit

dim T1 as sbit at RD7_bit 'left hand button
dim T2 as sbit at RH3_bit 'right hand button
dim T1_Direction as sbit at TRISD7_bit
dim T2_Direction as sbit at TRISH3_bit



' MCU initialization
sub procedure MCU_Init()


T1_Direction = 1 ' Set direction for buttons
T2_Direction = 1

LD1_Direction = 0 ' Set direction for LEDs
LD2_Direction = 0

LD1 = 0 ' turn off LEDs
LD2 = 0

' Initialize global variables

UART1_Init(9600) ' Initialize UART1 module at 9600 bps
Delay_ms(100) ' Wait for UART1 module to stabilize
UART2_Init(9600) ' Initialize UART2 module at 9600 bps
Delay_ms(100) ' Wait for UART2 module to stabilize
end sub

main:
MCU_Init() ' Initialize the MCU
UART1_Write_Text("EchoTest") ' send text string
UART1_Write(13)
Delay_ms(250) ' wait for 250ms

while(TRUE) ' Endless loop
' check T1 button
if (Button(PORTD, 7, 2, 1)) then ' Detect logical zero
LD1 = 0 'turn on LD1
else
LD1 = 1 ' turn off LED1
end if

wend


end.

first | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 last