Search found 21 matches

by dnaci
26 Apr 2024 16:48
Forum: mikroBasic PRO for PIC General
Topic: Sending data to DMX512
Replies: 1
Views: 189

Re: Sending data to DMX512

I solved the problem. I did not use RCSTA=0 after uart_write.
by dnaci
24 Apr 2024 15:18
Forum: mikroBasic PRO for PIC General
Topic: Sending data to DMX512
Replies: 1
Views: 189

Sending data to DMX512

I need to transfer the data coming via TCP to the DMX512 system. Actually, my code works, but I am having problems transferring the incoming data according to the DMX512 channel number to the relevant channel. I used for next but the data was mixed up. Steps 4-5 with the code snippet below. I send d...
by dnaci
24 Dec 2023 17:41
Forum: mikroBasic PRO for PIC General
Topic: Using Net_Ethernet_28j60_getBytes
Replies: 2
Views: 267

Using Net_Ethernet_28j60_getBytes

Hi, With the code below, I can read the first byte of the incoming TCP data. When I looked with Wireshark, I saw that it was the 54th byte. (1234567890) dim rectcp As Byte rectcp = Net_Ethernet_28j60_getByte() My problem is that I cannot read all incoming tcp data. I took the code below from the hel...
by dnaci
21 Dec 2023 19:11
Forum: mikroBasic PRO for PIC General
Topic: IO boards used in smart home systems
Replies: 0
Views: 278

IO boards used in smart home systems

Hello. IO boards used in smart home systems can generally be configured with parameters such as the example links below. Does anyone have a web ip IO code example that can work this way? It can be any processor and any ide. Tcp, modbus, udp, arp protocols may be used. I added a few io board configur...
by dnaci
05 Nov 2023 13:20
Forum: mikroBasic PRO for PIC General
Topic: SHT_Click MikroBUS BDF API and I2C Communication Pins Problem
Replies: 3
Views: 491

Re: SHT_Click MikroBUS BDF API and I2C Communication Pins Problem

In my work with Mikrosdk, although I followed the instructions correctly and updated the project path address, I could not fix the errors. Anyway, I prepared a code that does not require a library. The sensor is read via PORTA.1 and PORTA.2 pins using software I2C. The temperature value is stored in...
by dnaci
03 Nov 2023 13:14
Forum: mikroBasic PRO for PIC General
Topic: SHT_Click MikroBUS BDF API and I2C Communication Pins Problem
Replies: 3
Views: 491

Re: SHT_Click MikroBUS BDF API and I2C Communication Pins Problem

Maybe Filip, I guess I chose the hard way. The attached microsdk library is installed in the ide. Do you have an example for mikrosdk sht_click?
by dnaci
01 Nov 2023 20:55
Forum: mikroBasic PRO for PIC General
Topic: SHT_Click MikroBUS BDF API and I2C Communication Pins Problem
Replies: 3
Views: 491

SHT_Click MikroBUS BDF API and I2C Communication Pins Problem

Hello, I'm trying to use the SHT Click library. My code below compiles without any problems. I am using the Pic18F46K22 processor. I want to read the SHT31 Sensor. However, I see in the __ep_generic_I2C.mbas and __epp_generic_I2C.mbas library files that Port.C3 and Port.C4 pins are used by default f...
by dnaci
11 Sep 2023 10:57
Forum: mikroBasic PRO for PIC General
Topic: Highing Pin on ARP Request
Replies: 1
Views: 339

Highing Pin on ARP Request

Hello, When I send an ARP request to my device from the computer using a program, your httpdemo example responds by sending the MAC address to the computer program. I want to raise the portb.0 pin of the pic18f46k22 processor whenever any ARP request arrives at my device. I have made some attempts u...
by dnaci
24 Jul 2023 18:52
Forum: mikroBasic PRO for PIC General
Topic: TCP/IP Mikrobasic PIC Example I Need
Replies: 4
Views: 671

Re: TCP/IP Mikrobasic PIC Example I Need

IvanJeremic wrote:
20 Jul 2023 13:34
Hi,

I believe one of my colleagues spoke with you in a ticket already.

Regards,

Ivan.
Hello Ivan. I did not receive a reply to my last email.
by dnaci
15 Jul 2023 10:58
Forum: mikroBasic PRO for PIC General
Topic: TCP/IP Mikrobasic PIC Example I Need
Replies: 4
Views: 671

Re: TCP/IP Mikrobasic PIC Example I Need

@Firewire IDE examples have TCP example. I have worked with these examples. In these examples, HTTP TCP works as GET. I need connection based. I need to use it with Hercules program. Thank you for your interest.
by dnaci
14 Jul 2023 21:03
Forum: mikroBasic PRO for PIC General
Topic: TCP/IP Mikrobasic PIC Example I Need
Replies: 4
Views: 671

TCP/IP Mikrobasic PIC Example I Need

Hi, I am using all of your ethernet libraries fine. By developing a little more, I can turn on and off the devices I want from the processor pinouts using the UDP protocol. And I'm getting port statuses as a response. I can check and get a response from the UDP menu of the Hercules program without a...
by dnaci
17 Jan 2022 21:22
Forum: mikroBasic PRO for PIC General
Topic: Why Scripts don't work in combination of http_demo and Basic_Realm
Replies: 1
Views: 995

Re: Why Scripts don't work in combination of http_demo and Basic_Realm

Does anyone have an idea about the problem? How can I make these scripts usable: "<script src=/s></script>"+ "<table><tr><td valign=top><table border=1 style="+chr(34)+"font-size:20px ;font-family: terminal ;"+chr(34)+"> "+ "<tr><th colspan=2>ADC</th></tr>"+ "<tr><td>AN2</td><td><script>document.wri...
by dnaci
16 Jan 2022 21:58
Forum: mikroBasic PRO for PIC General
Topic: Why Scripts don't work in combination of http_demo and Basic_Realm
Replies: 1
Views: 995

Why Scripts don't work in combination of http_demo and Basic_Realm

Hello. In a circuit I prepared, http_demo and basic_realm work without any problems. But in the combination I made, the scripts do not work. Where could the problem be? I've included my code below. The microcontroller cannot respond to requests. Only the reload button works. Some additional informat...
by dnaci
08 Jan 2019 21:18
Forum: Libstock Discussion
Topic: HID bootloader for 18LF25K50 ?
Replies: 8
Views: 19026

Re: HID bootloader for 18LF25K50 ?

PIC18F25K50 USB HID BOOTLOADER LINK:

https://libstock.mikroe.com/projects/vi ... bootloader

NOTE: I think it is available in pic18LF25k50. But I didn't test it.

Go to advanced search