Search found 225 matches

by fzanoto
11 Feb 2021 19:58
Forum: mikroBasic PRO for PIC General
Topic: spwm
Replies: 1
Views: 789

spwm

program spwm ' Declarations section dim duty as byte const senoide as byte[255] =($80, $83, $86, $89, $8C, $8F, $93, $96, $99, $9C, $9F, $A2, $A5, $A8, $AB, $AE, $B1, $B4, $B6, $B9, $BC, $BF, $C1, $C4, $C7, $C9, $CC, $CE, $D1, $D3, $D6, $D8, $DA, $DC, $DE, $E0, $E2, $E4, $E6, $E8, $EA, $EC, $ED, $E...
by fzanoto
22 Nov 2018 18:33
Forum: mikroBasic PRO for PIC General
Topic: Soft_I2C - 24LC512
Replies: 6
Views: 1816

Re: Soft_I2C - 24LC512

with a different compiler, works on both the isis and the real circuit

see (picbasic pro):
I2CWRITE gpio.2,gpio.1,160,endereco,[dado]
by fzanoto
20 Nov 2018 17:04
Forum: mikroBasic PRO for PIC General
Topic: Soft_I2C - 24LC512
Replies: 6
Views: 1816

Re: Soft_I2C - 24LC512

yea ,
including using another compiler: picbasic, the circuit works, however in mikrobasic it does not work.
by fzanoto
19 Nov 2018 12:49
Forum: mikroBasic PRO for PIC General
Topic: Soft_I2C - 24LC512
Replies: 6
Views: 1816

Re: Soft_I2C - 24LC512

mikrobasicPro 6.6.3
I'm testing on the proteus simulator:
by fzanoto
16 Nov 2018 14:33
Forum: mikroBasic PRO for PIC General
Topic: Soft_I2C - 24LC512
Replies: 6
Views: 1816

Soft_I2C - 24LC512

hi, I try to test it, but don´t work: program aquisitor 'Soft_I2C pinout definition dim Soft_I2C_Scl as sbit at gpio.1 dim Soft_I2C_Sda as sbit at gpio.2 dim Soft_I2C_Scl_Direction as sbit at TRISio.2 dim Soft_I2C_Sda_Direction as sbit at TRISio.2 'End of Soft_I2C pinout definition dim endereco as w...
by fzanoto
08 May 2018 19:08
Forum: mikroBasic PRO for PIC General
Topic: ftdi ft813
Replies: 6
Views: 2610

Re: ftdi ft813

up
by fzanoto
28 Mar 2018 22:01
Forum: mikroBasic PRO for PIC General
Topic: ftdi ft813
Replies: 6
Views: 2610

Re: ftdi ft813

yes, I looked at the examples, but only for pic32 and in visual tft, I wanted something simpler, just so I could learn the basics to write on a pc monitor.
by fzanoto
28 Mar 2018 02:41
Forum: mikroBasic PRO for PIC General
Topic: ftdi ft813
Replies: 6
Views: 2610

Re: ftdi ft813

i find it:
http://brtchip.com/wp-content/uploads/S ... xample.pdf

but I can´t understand..
by fzanoto
28 Mar 2018 02:18
Forum: mikroBasic PRO for PIC General
Topic: ftdi ft813
Replies: 6
Views: 2610

Re: ftdi ft813

I try it, but don´t work
by fzanoto
28 Mar 2018 02:17
Forum: mikroBasic PRO for PIC General
Topic: ftdi ft813
Replies: 6
Views: 2610

Re: ftdi ft813

program ft813_4520 symbol _cs = portc.7 const CLKEXT as byte = 0x44 const ACTIVE as byte = 0x00 const REG_ID as word = 0x3020 const REG_HCYCLE as word = 548 const REG_HOFFSET as word = 43 const REG_HSYNC0 as word = 00 const REG_HSYNC1 as word = 41 const REG_VCYCLE as word = 292 const REG_VOFFSET as...
by fzanoto
21 Feb 2018 19:36
Forum: mikroBasic PRO for PIC General
Topic: ftdi ft813
Replies: 6
Views: 2610

ftdi ft813

I bought an ftdi chip (ft813) and would like to test with the pic 18F4680 at 48Mhz.
Look at the schematic below.
Would anyone have anything to start with?
by fzanoto
04 Oct 2016 20:45
Forum: mikroBasic PRO for PIC General
Topic: soft i2c for DLVR-L01D
Replies: 1
Views: 1848

soft i2c for DLVR-L01D

hi, I need to read pressure of: DLVR-L01D I try it, but don´t work: sub procedure inicia_sensor Soft_I2C_Start() ' Issue start signal Soft_I2C_Write(%01010000) ' Address Soft_I2C_Stop() delay_ms(10) end sub '----------------------------------------------------- sub procedure le_sensor Soft_I2C_Start...
by fzanoto
24 Feb 2016 19:52
Forum: mikroBasic PRO for PIC General
Topic: dot matrix 32x32 rgb led adafruit
Replies: 1
Views: 1274

dot matrix 32x32 rgb led adafruit

Hi, I made it with mikrobasic: https://www.youtube.com/watch?v=aqCenWDEyOY program adafruit_32x32 'Pic 18F4520 @ 20Mhz 'testes: oe desligado e pulso de latch antes e depois da seleção de cor 'portb= NC,OE,lat,clk,d,c,b,a 'portc= NC,NC,B2,G2,R2,B1,G1,R1 dim start, cor, varia_cor as byte dim contador ...

Go to advanced search