Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - admin

Pages: [1]
1
BaCon / PI GPIO
« on: March 31, 2025, 12:05:59 AM »
Quote from: Alexfish - BaCon Forum
This is first post on PI GPIO

Split from 'pigpio picogpio' and extended from the PI3 gpio thread

In that thread there is a I2C keyboard project using I2C PCF8574 gpio port expander


the following code is how to set up a pcf8574

Set up is per pin IE: so can scan the pins :

BaCon Forum link

2
BaCon / piGPIO + PICO
« on: December 29, 2024, 01:58:30 AM »
Quote from: BaCon Forum - alexfish
Start of pi gpio & pico pgpio


3
Swift / Swift RPi
« on: November 24, 2019, 04:23:56 AM »
@hippy,

Download the latest 5.1.2 build below and follow the install instructions.

Great if you would join us here.

4
Programming Challenges / Re: Just REM
« on: November 22, 2019, 11:21:24 PM »
FreeBasic

Code: FreeBasic
  1. REM
  2.  


pi@RPi4B:~/freebasic/examples $ fbc updown.bas
pi@RPi4B:~/freebasic/examples $ ls -l
total 28
-rwxr-xr-x 1 pi pi 23528 Nov 22 13:19 updown
-rw-r--r-- 1 pi pi     4 Nov 22 10:55 updown.bas
pi@RPi4B:~/freebasic/examples $ /usr/bin/time ./updown
0.00user 0.00system 0:00.01elapsed 58%CPU (0avgtext+0avgdata 2000maxresident)k
0inputs+0outputs (0major+118minor)pagefaults 0swaps
pi@RPi4B:~/freebasic/examples $


5
Programming Challenges / Re: Just REM
« on: November 22, 2019, 11:19:29 PM »
BaCon

Code: Text
  1. REM
  2.  


pi@RPi4B:~/bacon-dev/examples $ bacon updown.bac
Converting 'updown.bac'... done, 2 lines were processed in 0.026 seconds.
Compiling 'updown.bac'... cc  -c updown.bac.c
cc -o updown updown.bac.o -lbacon -L. -lm 
Done, program 'updown' ready.
pi@RPi4B:~/bacon-dev/examples $ /usr/bin/time ./updown
0.00user 0.00system 0:00.00elapsed 100%CPU (0avgtext+0avgdata 1100maxresident)k
0inputs+0outputs (0major+75minor)pagefaults 0swaps
pi@RPi4B:~/bacon-dev/examples $


6
Programming Challenges / Just REM
« on: November 22, 2019, 11:17:36 PM »
This thread is focused on the startup and shutdown costs of a programming language. The challenge is to time an empty program with just a REMark as its code.

ScriptBasic

Code: Script BASIC
  1. UNDEF Remark
  2.  


pi@RPi4B:~/sbrt/examples $ /usr/bin/time scriba updown.sb
0.00user 0.00system 0:00.01elapsed 60%CPU (0avgtext+0avgdata 1692maxresident)k
0inputs+0outputs (0major+99minor)pagefaults 0swaps
pi@RPi4B:~/sbrt/examples $



7
Interpreters / Re: BBC BASIC
« on: April 14, 2019, 05:19:31 AM »
Welcome!

I created a child board for BBC BASIC.


Pages: [1]